summaryrefslogtreecommitdiff
path: root/community/nodejs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nodejs/PKGBUILD')
-rw-r--r--community/nodejs/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index 36f40c85d..19522811b 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73072 2012-06-30 08:03:14Z 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>
@@ -8,8 +8,8 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.8.1
-pkgrel=1
+pkgver=0.8.2
+pkgrel=3
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64' 'mips64el')
url='http://nodejs.org/'
@@ -19,7 +19,7 @@ checkdepends=('curl') # curl used for check()
optdepends=('openssl: TLS support')
options=('!emptydirs')
source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz")
-md5sums=('32a6f7b7cf196cb89bd973741ae58dd1')
+md5sums=('2d1a74aa9e5ecfdb4c64d200b642eb1e')
build() {
cd node-v${pkgver}
@@ -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
}