summaryrefslogtreecommitdiff
path: root/pcr/nodejs-bower
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-04 19:54:26 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-04 19:54:26 +0100
commit0dd0cca8496e41a58a3e2bb545092ce4642e541a (patch)
tree9887049504315d00f62e2b26a696150c47815e23 /pcr/nodejs-bower
parent9d57d8a2b34f00031d91a1f68c49245acda58274 (diff)
downloadabslibre-0dd0cca8496e41a58a3e2bb545092ce4642e541a.tar.gz
abslibre-0dd0cca8496e41a58a3e2bb545092ce4642e541a.tar.bz2
abslibre-0dd0cca8496e41a58a3e2bb545092ce4642e541a.zip
pcr/nodejs-bower: updated to 1.8.2
Diffstat (limited to 'pcr/nodejs-bower')
-rw-r--r--pcr/nodejs-bower/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/pcr/nodejs-bower/PKGBUILD b/pcr/nodejs-bower/PKGBUILD
index a3227e069..d5ce155ed 100644
--- a/pcr/nodejs-bower/PKGBUILD
+++ b/pcr/nodejs-bower/PKGBUILD
@@ -1,23 +1,27 @@
-# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
-# Contributor (Arch): Tom Vincent <http://tlvince.com/contact>
+
+# parabola changes and rationale:
+# - using a common nodejs packaging scheme
_npmname=bower
pkgname=nodejs-$_npmname
-pkgver=1.4.1
+pkgver=1.8.2
pkgrel=1
-pkgdesc='The browser package manager'
-arch=(any)
-url='https://github.com/twitter/bower'
-license=(MIT)
-depends=('nodejs')
+pkgdesc='A package manager for the web'
+arch=('any')
+url='https://www.npmjs.com/package/bower'
+license=('MIT')
+depends=('nodejs' 'nodejs-semver-utils')
+makedepends=('npm')
source=("http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=($_npmname-$pkgver.tgz)
-md5sums=('df81b015316062da0ac7ab64a4677fb2')
+sha256sums=('6bcf10e9c192fdbd6e89f98e431e095764c8571f66bcd6dd08fbcbd52e8dd722')
package() {
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
cd "$_npmdir"
- npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+ npm install --verbose --debug -g --user root --prefix "$pkgdir/usr" \
+ "$srcdir"/$_npmname-$pkgver.tgz
+ rm -r "$pkgdir/usr/etc"
}