diff options
author | Tim Biermann <tbier@posteo.de> | 2021-01-07 23:31:49 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-01-07 23:31:49 +0000 |
commit | f8554e59b0f2f1c5db67787ff36951791f15aa21 (patch) | |
tree | ab57f0a9510508d8e7c83c7daaa2338ebf7e372c /yarn | |
parent | bbc06d8d3d3e6b716b79cf93410f8713e0b257cb (diff) | |
download | contrib-f8554e59b0f2f1c5db67787ff36951791f15aa21.tar.gz contrib-f8554e59b0f2f1c5db67787ff36951791f15aa21.tar.xz |
yarn: initial commit, version 1.22.10
Diffstat (limited to 'yarn')
-rw-r--r-- | yarn/.footprint | 20 | ||||
-rw-r--r-- | yarn/.signature | 5 | ||||
-rw-r--r-- | yarn/Pkgfile | 19 |
3 files changed, 44 insertions, 0 deletions
diff --git a/yarn/.footprint b/yarn/.footprint new file mode 100644 index 000000000..796eddbd8 --- /dev/null +++ b/yarn/.footprint @@ -0,0 +1,20 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +lrwxrwxrwx root/root usr/bin/yarn -> /usr/lib/node_modules/yarn/bin/yarn.js +lrwxrwxrwx root/root usr/bin/yarnpkg -> /usr/lib/node_modules/yarn/bin/yarn.js +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/node_modules/ +drwxr-xr-x root/root usr/lib/node_modules/yarn/ +-rw-r--r-- root/root usr/lib/node_modules/yarn/LICENSE +-rw-r--r-- root/root usr/lib/node_modules/yarn/README.md +drwxr-xr-x root/root usr/lib/node_modules/yarn/bin/ +-rwxr-xr-x root/root usr/lib/node_modules/yarn/bin/yarn +-rwxr-xr-x root/root usr/lib/node_modules/yarn/bin/yarn.cmd +-rwxr-xr-x root/root usr/lib/node_modules/yarn/bin/yarn.js +-rwxr-xr-x root/root usr/lib/node_modules/yarn/bin/yarnpkg +-rwxr-xr-x root/root usr/lib/node_modules/yarn/bin/yarnpkg.cmd +drwxr-xr-x root/root usr/lib/node_modules/yarn/lib/ +-rwxr-xr-x root/root usr/lib/node_modules/yarn/lib/cli.js +-rw-r--r-- root/root usr/lib/node_modules/yarn/lib/v8-compile-cache.js +-rw-r--r-- root/root usr/lib/node_modules/yarn/package.json +-rw-r--r-- root/root usr/lib/node_modules/yarn/preinstall.js diff --git a/yarn/.signature b/yarn/.signature new file mode 100644 index 000000000..651651192 --- /dev/null +++ b/yarn/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF36aj6czZcCAtPKt06OmkWvF5y/+SOYeBvg8R8cUhEOheS5DTNG8bsec1TIxK3yHpTb3nM2YrRQIFyEgtu9BgCwY= +SHA256 (Pkgfile) = 542658da4770e860e0cd0e747e076393e7c950654d4ab15459b76ac2db41b4eb +SHA256 (.footprint) = a42611753801d72a84d7a15e129c6bb996688bfd4c6b4027fcf4cb21ca3f65fe +SHA256 (yarn-v1.22.10.tar.gz) = 7e433d4a77e2c79e6a7ae4866782608a8e8bcad3ec6783580577c59538381a6e diff --git a/yarn/Pkgfile b/yarn/Pkgfile new file mode 100644 index 000000000..aeedafd87 --- /dev/null +++ b/yarn/Pkgfile @@ -0,0 +1,19 @@ +# Description: a nodejs package manager +# URL: https://classic.yarnpkg.com/lang/en/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: nodejs + +name=yarn +version=1.22.10 +release=1 +source=(https://github.com/yarnpkg/yarn/releases/download/v$version/yarn-v$version.tar.gz) + +build() { + cd $name-v$version + install -dm755 $PKG/usr/lib/node_modules/yarn + cp -R * $PKG/usr/lib/node_modules/yarn + + install -dm755 $PKG/usr/bin + ln -s /usr/lib/node_modules/yarn/bin/yarn.js $PKG/usr/bin/yarn + ln -s /usr/lib/node_modules/yarn/bin/yarn.js $PKG/usr/bin/yarnpkg +} |