diff options
Diffstat (limited to 'community/v8')
-rw-r--r-- | community/v8/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/community/v8/PKGBUILD b/community/v8/PKGBUILD index c7c394aa5..fac71067a 100644 --- a/community/v8/PKGBUILD +++ b/community/v8/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 82550 2013-01-20 16:42:36Z bpiotrowski $ +# $Id: PKGBUILD 84319 2013-02-16 12:46:17Z bpiotrowski $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: tocer <tocer.deng@gmail.com> pkgname=v8 pkgver=3.16.4.1 -pkgrel=1 -pkgdesc='A fast and modern javascript engine' -arch=('i686' 'x86_64' 'mips64el') +pkgrel=2 +pkgdesc='Fast and modern Javascript engine' +arch=('i686' 'x86_64') url='http://code.google.com/p/v8' license=('BSD') depends=('gcc-libs' 'readline') @@ -33,12 +33,17 @@ build() { sed -i 's/python /python2 /' Makefile make $ARCH.release library=shared console=readline + + cd $srcdir && cp -r $pkgname-$pkgver d8-static-$pkgver + cd d8-static-$pkgver + make $ARCH.release library=static console=readline } package() { cd $srcdir/$pkgname-$pkgver install -Dm755 out/$ARCH.release/d8 $pkgdir/usr/bin/d8 + install -Dm755 $srcdir/d8-static-$pkgver/out/$ARCH.release/d8 $pkgdir/usr/bin/d8-static install -Dm755 out/$ARCH.release/lib.target/libv8.so $pkgdir/usr/lib/libv8.so install -d $pkgdir/usr/include |