summaryrefslogtreecommitdiff
path: root/community/nodejs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r--community/nodejs/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index 7594993ed..156a7a655 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73678 2012-07-13 18:50:20Z bpiotrowski $
+# $Id: PKGBUILD 73801 2012-07-15 18:02:53Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: James Campos <james.r.campos@gmail.com>
@@ -9,7 +9,7 @@
pkgname=nodejs
pkgver=0.8.2
-pkgrel=1
+pkgrel=3
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
url='http://nodejs.org/'
@@ -35,7 +35,8 @@ build() {
export PYTHON=python2
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --shared-openssl
make
}
@@ -58,6 +59,9 @@ package() {
cp -r doc/api/*.html \
${pkgdir}/usr/share/doc/nodejs
+ # compress man pages
+ find $pkgdir/usr/lib/node_modules/npm/man -type f | xargs gzip -9
+
install -D -m644 LICENSE \
${pkgdir}/usr/share/licenses/nodejs/LICENSE
}