From 5478158b39c147bec163842a010f88013b1c0547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 6 May 2015 04:30:55 -0300 Subject: nodejs-grunt-cli: add new package to [pcr] --- pcr/nodejs-grunt-cli/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pcr/nodejs-grunt-cli/PKGBUILD (limited to 'pcr') diff --git a/pcr/nodejs-grunt-cli/PKGBUILD b/pcr/nodejs-grunt-cli/PKGBUILD new file mode 100644 index 000000000..8ca0704b9 --- /dev/null +++ b/pcr/nodejs-grunt-cli/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer (Arch): Mario Finelli +# Contributor (Arch): Andy Weidenbaum +# Contributor (Arch): Peter Wu + +_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 +} -- cgit v1.2.3-2-g168b