diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 09:23:41 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 09:23:45 +0000 |
commit | 0e14b10e4146995c83c9bc1785020a10ffc82caa (patch) | |
tree | f1763c3cb002144dc7aa605cbb88b4bdf3fe23a4 | |
parent | 83ffc4f50711f8ed4a73a0962ad0dcf9c5e89c7f (diff) | |
download | aports-0e14b10e4146995c83c9bc1785020a10ffc82caa.tar.bz2 aports-0e14b10e4146995c83c9bc1785020a10ffc82caa.tar.xz |
main/nodejs: fix npm man pages
-rw-r--r-- | main/nodejs/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/nodejs/APKBUILD b/main/nodejs/APKBUILD index e9749e0327..b2cf82de99 100644 --- a/main/nodejs/APKBUILD +++ b/main/nodejs/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Eivind Uggedal <eivind@uggedal.com> pkgname=nodejs pkgver=0.10.29 -pkgrel=0 +pkgrel=1 pkgdesc='Evented I/O for V8 javascript' url='http://nodejs.org/' arch='all' @@ -25,10 +25,17 @@ build() { } package() { + local d + cd "$srcdir"/node-v$pkgver make DESTDIR="$pkgdir" install || return 1 # paxmark so JIT works paxctl -cm "$pkgdir"/usr/bin/node || return 1 + + cp -pr "$pkgdir"/usr/lib/node_modules/npm/man "$pkgdir"/usr/share || return 1 + for d in doc html man; do + rm -r "$pkgdir"/usr/lib/node_modules/npm/$d || return 1 + done } md5sums="e14ea9f46f9beecdf4e9423fb626c70b node-v0.10.29.tar.gz" |