mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/nodejs to 0.8.2-3
This commit is contained in:
parent
403f350569
commit
1a87538357
1 changed files with 5 additions and 3 deletions
|
@ -6,11 +6,9 @@
|
|||
# Contributor: TIanyi Cui <tianyicui@gmail.com>
|
||||
# Contributor: Jason Plum <max@warheads.net>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=nodejs
|
||||
pkgver=0.8.2
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc='Evented I/O for V8 javascript'
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
url='http://nodejs.org/'
|
||||
|
@ -39,6 +37,7 @@ build() {
|
|||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--shared-openssl \
|
||||
--shared-v8 \
|
||||
--shared-v8-libpath=/usr/lib \
|
||||
--shared-v8-includes=/usr/include \
|
||||
|
@ -64,6 +63,9 @@ package() {
|
|||
cp -r doc/api/* \
|
||||
${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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue