From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/yarn/yarn.xibuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/yarn/yarn.xibuild (limited to 'repo/yarn') diff --git a/repo/yarn/yarn.xibuild b/repo/yarn/yarn.xibuild new file mode 100644 index 0000000..900a18f --- /dev/null +++ b/repo/yarn/yarn.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="yarn" +DESC="Fast, reliable, and secure dependency management for Node.js" + +MAKEDEPS="" + +PKG_VER=1.22.18 +SOURCE="https://yarnpkg.com/downloads/$PKG_VER/yarn-v$PKG_VER.tar.gz" + +package() { + local destdir="usr/share/node_modules/yarn" + + mkdir -p "$PKG_DEST"/$destdir + cp -R "$BUILD_ROOT"/* "$PKG_DEST"/$destdir/ + + # Remove windows specific files. + rm "$PKG_DEST"/$destdir/bin/*.cmd + + mkdir -p "$PKG_DEST"/usr/bin + ln -s /$destdir/bin/yarn "$PKG_DEST"/usr/bin/yarn + ln -s /$destdir/bin/yarn "$PKG_DEST"/usr/bin/yarnpkg +} + -- cgit v1.2.1