diff options
author | Morten Linderud | 2017-09-04 10:31:33 +0200 |
---|---|---|
committer | Morten Linderud | 2017-09-04 10:31:33 +0200 |
commit | 666f60c875f3affe4bea5d6c208d55a9768c0e5a (patch) | |
tree | 4237165c723be7894bca7dfae8d1337afb5c8f5e | |
parent | 0415f6eb58133b74fc25838e59f11cf0c5a377d0 (diff) | |
download | aur-666f60c875f3affe4bea5d6c208d55a9768c0e5a.tar.gz |
upgpkg: nodejs-how2 1.1.0-3
Fixed nodejs-how2
Signed-off-by: Morten Linderud <morten@linderud.pw>
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 8 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Sep 3 22:06:20 UTC 2017 +# Mon Sep 4 08:31:34 UTC 2017 pkgbase = nodejs-how2 - pkgdesc = how2 finds the simplest way to do something in a unix shell. It's like man, but you can query it in natural language: + pkgdesc = finds the simplest way to do something in a unix shell. It's like man, but you can query it in natural language: pkgver = 1.1.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/santinic/how2 arch = any license = MIT @@ -2,13 +2,12 @@ _npmname=how2 pkgname=nodejs-how2 pkgver=1.1.0 -pkgrel=2 -pkgdesc="how2 finds the simplest way to do something in a unix shell. It's like man, but you can query it in natural language:" +pkgrel=3 +pkgdesc="finds the simplest way to do something in a unix shell. It's like man, but you can query it in natural language:" arch=(any) url="https://github.com/santinic/how2" license=(MIT) depends=('nodejs' 'npm') -optdepends=() source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) noextract=($_npmname-$pkgver.tgz) sha256sums=('96adf72bfa307c5413314afb547179e781f9ef18db6c7233b104da399657478e') @@ -19,6 +18,6 @@ package() { local _npmdir="$pkgdir/usr/lib/node_modules/" mkdir -p "$_npmdir" cd "$_npmdir" - npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz" + install -Dm644 "how2/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |