From 70d5327f540a72a1a8265123c444ab34927e0c58 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Mon, 7 Sep 2015 14:33:29 -0400 Subject: updating grunt --- pcr/nodejs-grunt-cli/PKGBUILD | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pcr/nodejs-grunt-cli/PKGBUILD b/pcr/nodejs-grunt-cli/PKGBUILD index 1ef6cb8e7..15148bce5 100644 --- a/pcr/nodejs-grunt-cli/PKGBUILD +++ b/pcr/nodejs-grunt-cli/PKGBUILD @@ -12,16 +12,14 @@ arch=('any') url="http://gruntjs.com/" license=('MIT') depends=('nodejs' 'npm') -source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) noextract=($_npmname-$pkgver.tgz) sha256sums=('e639404d7b66ae2821edabc681104a1f035910ff20a2e21d67329c2a7674a443') +options=('!emptydirs') 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 + npm install --user root -g grunt-cli --prefix "$pkgdir/usr" ## Packagers note: It is not possible to package this inside a clean offline chroot due to NPM bug #2568. } \ No newline at end of file -- cgit v1.2.3