[crux-commits] ports/contrib (refs/remotes/origin/3.6): yarn: initial commit, version 1.22.10

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:04 UTC 2021


commit f8554e59b0f2f1c5db67787ff36951791f15aa21
Author: Tim Biermann <tbier at posteo.de>
Date:   Thu Jan 7 23:31:49 2021 +0000

    yarn: initial commit, version 1.22.10

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
+}


More information about the crux-commits mailing list