summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD17
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0a0c3fb18bb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = nodejs-semantic-release-cli
+ pkgdesc = setup automated semver compliant package publishing
+ pkgver = 3.0.3
+ pkgrel = 1
+ url = https://github.com/semantic-release/cli
+ arch = any
+ license = MIT
+ depends = npm
+ noextract = semantic-release-cli-3.0.3.tgz
+ source = http://registry.npmjs.org/semantic-release-cli/-/semantic-release-cli-3.0.3.tgz
+ sha256sums = f1490fec7493ec583f04205226168a56677114bac7b096d8c5cc3ea1a23fcc19
+
+pkgname = nodejs-semantic-release-cli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8e31e744bfb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+_npmname=semantic-release-cli
+pkgname=nodejs-$_npmname
+pkgver=3.0.3
+pkgrel=1
+pkgdesc="setup automated semver compliant package publishing"
+arch=(any)
+url="https://github.com/semantic-release/cli"
+license=('MIT')
+depends=('npm')
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+sha256sums=('f1490fec7493ec583f04205226168a56677114bac7b096d8c5cc3ea1a23fcc19')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
+ chmod -R go-w "$pkgdir"/usr
+}