diff options
Diffstat (limited to '~emulatorman/nodejs-grunt-cli/PKGBUILD')
-rw-r--r-- | ~emulatorman/nodejs-grunt-cli/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/~emulatorman/nodejs-grunt-cli/PKGBUILD b/~emulatorman/nodejs-grunt-cli/PKGBUILD new file mode 100644 index 000000000..e18327bfc --- /dev/null +++ b/~emulatorman/nodejs-grunt-cli/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Mario Finelli <mtfinelli at gmail dot com> +# Contributor: Andy Weidenbaum <archbaum at gmail dot com> +# Contributor: Peter Wu <lekensteyn at gmail dot com> + +_npmname=grunt-cli +pkgname=nodejs-$_npmname +pkgver=0.1.13 +pkgrel=2 +pkgdesc="The grunt command line interface" +arch=('any') +url="http://gruntjs.com/" +license=('MIT') +depends=('nodejs') +install=nodejs-grunt-cli.install +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 +}
\ No newline at end of file |