summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2016-06-11 15:38:48 -0400
committerMario Finelli2016-06-11 15:38:48 -0400
commit0555f7fd20ae3df0f95056d909cf410981f1557a (patch)
tree5a1ce7681fcd7567ec3d8eee7c0f1504791adb0d
downloadaur-0555f7fd20ae3df0f95056d909cf410981f1557a.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b1487dc3c4a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sat Jun 11 19:38:40 UTC 2016
+pkgbase = nodejs-shipit-cli
+ pkgdesc = Universal automation and deployment tool written in JavaScript.
+ pkgver = 1.4.1
+ pkgrel = 1
+ url = https://github.com/shipitjs/shipit
+ arch = any
+ license = MIT
+ depends = nodejs
+ depends = npm
+ noextract = shipit-cli-1.4.1.tgz
+ source = https://registry.npmjs.org/shipit-cli/-/shipit-cli-1.4.1.tgz
+ sha256sums = cc0be1b9ca8122ed2a010f6ed1ece11c866d9d4cca3f1c139dde5fc2dec5b0b2
+
+pkgname = nodejs-shipit-cli
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f71c635dafd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1787f7c7b72
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Mario Finelli <mario at finel dot li>
+
+_npmname=shipit-cli
+pkgname=nodejs-$_npmname
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="Universal automation and deployment tool written in JavaScript."
+arch=('any')
+url='https://github.com/shipitjs/shipit'
+license=('MIT')
+depends=('nodejs' 'npm')
+source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+sha256sums=('cc0be1b9ca8122ed2a010f6ed1ece11c866d9d4cca3f1c139dde5fc2dec5b0b2')
+
+package() {
+ cd "$srcdir"
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+}