diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/yarn | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/yarn')
-rw-r--r-- | repo/yarn/yarn.xibuild | 24 |
1 files changed, 24 insertions, 0 deletions
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 +} + |