summaryrefslogtreecommitdiff
path: root/libre/nodejs-grunt-cli
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-29 04:01:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-07-29 15:01:55 -0300
commit26c0aa2a34dae7b4ff2d9cb9f7b35ee2890bdfc2 (patch)
tree28d17c1a680be1e91102527e8f9ac1dd0a599575 /libre/nodejs-grunt-cli
parentc19c8f96b9b071e7e6729f21ba58593fb4326658 (diff)
nodejs-grunt-cli: move to [libre] because it's required by jquery and jquery-ui
Diffstat (limited to 'libre/nodejs-grunt-cli')
-rw-r--r--libre/nodejs-grunt-cli/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/nodejs-grunt-cli/PKGBUILD b/libre/nodejs-grunt-cli/PKGBUILD
new file mode 100644
index 000000000..8ca0704b9
--- /dev/null
+++ b/libre/nodejs-grunt-cli/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer (Arch): Mario Finelli <mtfinelli at gmail 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=3
+pkgdesc="The grunt command line interface"
+arch=('any')
+url="http://gruntjs.com/"
+license=('MIT')
+depends=('nodejs')
+source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+md5sums=('fe47325c8b6f48d752c33c9ea57d9217')
+
+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
+}