summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-09-07 12:19:59 -0400
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:01 -0300
commit1bdb33805f1b3308b5dc3417aecc0521a9f7423b (patch)
tree05f11594a6d16101108d660152c93ec6efc3d24a /pcr
parent922ca5502fbb24452c4daa2f29f0ce15efd2be54 (diff)
downloadabslibre-1bdb33805f1b3308b5dc3417aecc0521a9f7423b.tar.gz
abslibre-1bdb33805f1b3308b5dc3417aecc0521a9f7423b.tar.bz2
abslibre-1bdb33805f1b3308b5dc3417aecc0521a9f7423b.zip
adding grunt-cli
Diffstat (limited to 'pcr')
-rw-r--r--pcr/nodejs-grunt-cli/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/nodejs-grunt-cli/PKGBUILD b/pcr/nodejs-grunt-cli/PKGBUILD
new file mode 100644
index 000000000..1ef6cb8e7
--- /dev/null
+++ b/pcr/nodejs-grunt-cli/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Maintainer (Arch): Mario Finelli <mario dot finelli at yahoo dot com>
+# Contributor (Arch): Andy Weidenbaum <archbaum at gmail dot com>
+# Contributor (Arch): Peter Wu <lekensteyn at gmail dot com>
+
+_npmname=grunt-cli
+pkgname=nodejs-$_npmname
+pkgver=0.1.13
+pkgrel=6
+pkgdesc="The grunt command line interface."
+arch=('any')
+url="http://gruntjs.com/"
+license=('MIT')
+depends=('nodejs' 'npm')
+source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+sha256sums=('e639404d7b66ae2821edabc681104a1f035910ff20a2e21d67329c2a7674a443')
+
+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
+
+ rmdir "$pkgdir"/usr/etc
+} \ No newline at end of file