summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-09-07 14:33:29 -0400
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:01 -0300
commit70d5327f540a72a1a8265123c444ab34927e0c58 (patch)
tree92d35450f715fe4b944adfc8f555674ae490cd36
parent1bdb33805f1b3308b5dc3417aecc0521a9f7423b (diff)
downloadabslibre-70d5327f540a72a1a8265123c444ab34927e0c58.tar.gz
abslibre-70d5327f540a72a1a8265123c444ab34927e0c58.tar.bz2
abslibre-70d5327f540a72a1a8265123c444ab34927e0c58.zip
updating grunt
-rw-r--r--pcr/nodejs-grunt-cli/PKGBUILD8
1 files 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