summaryrefslogtreecommitdiff
path: root/~emulatorman/nodejs-grunt
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-14 15:27:44 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-14 15:27:44 -0200
commit5422bb4047541e661efdcca620cb04863580a896 (patch)
tree93db09b5a766e8768d8a77ed642df54c9718c24d /~emulatorman/nodejs-grunt
parenta6ab803f0cd66221ec09280cf5777c8af43bdc35 (diff)
downloadabslibre-5422bb4047541e661efdcca620cb04863580a896.tar.gz
abslibre-5422bb4047541e661efdcca620cb04863580a896.tar.bz2
abslibre-5422bb4047541e661efdcca620cb04863580a896.zip
nodejs-grunt{,-cli}: add new packages to [~emulatorman] for testing
Diffstat (limited to '~emulatorman/nodejs-grunt')
-rw-r--r--~emulatorman/nodejs-grunt/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/~emulatorman/nodejs-grunt/PKGBUILD b/~emulatorman/nodejs-grunt/PKGBUILD
new file mode 100644
index 000000000..fea5c6ae2
--- /dev/null
+++ b/~emulatorman/nodejs-grunt/PKGBUILD
@@ -0,0 +1,30 @@
+# Author: "Cowboy" Ben Alman (http://benalman.com/)
+# Contributor: "Cowboy" Ben Alman (http://benalman.com/)
+# Contributor: Kyle Robinson Young (http://dontkry.com/)
+# Contributor: Tyler Kellen (http://goingslowly.com)
+# Contributor: Sindre Sorhus (http://sindresorhus.com)
+# Contributor: cowboy <cowboy@rj3.net>
+# Contributor: tkellen <tyler@sleekcode.net>
+# Maintainer: cracoucass14 (http://twitter.com/cracoucass14)
+
+_npmname=grunt
+pkgname=nodejs-grunt # All lowercase
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="The JavaScript Task Runner"
+arch=(any)
+url="http://gruntjs.com/"
+license=(MIT)
+depends=('nodejs')
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+sha1sums=(895b4f28a6102bffd41d365a65e8be2d6a293d93)
+
+package() {
+ cd $srcdir
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+}