diff options
Diffstat (limited to 'main/nodejs/APKBUILD')
-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" |