summaryrefslogtreecommitdiff
path: root/community/v8
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-10 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2012-01-10 23:15:00 +0000
commitb8012183bbaae70ce4a714c618a967e85df9f521 (patch)
tree1df6f612c4f75faa9f54467e0a856bcdde0b6a1a /community/v8
parentfdcaf644692e151ddc596b148465ce4a77e6b670 (diff)
Tue Jan 10 23:14:59 UTC 2012
Diffstat (limited to 'community/v8')
-rw-r--r--community/v8/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/community/v8/PKGBUILD b/community/v8/PKGBUILD
index b89b9c469..514cdcca2 100644
--- a/community/v8/PKGBUILD
+++ b/community/v8/PKGBUILD
@@ -1,19 +1,20 @@
-# $Id: PKGBUILD 56586 2011-10-09 03:29:08Z tdziedzic $
+# $Id: PKGBUILD 61849 2012-01-09 06:27:02Z tdziedzic $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: tocer <tocer.deng@gmail.com>
pkgname=v8
-pkgver=3.6.5.1
+pkgver=3.6.6.14
pkgrel=1
pkgdesc='A fast and modern javascript engine'
arch=('i686' 'x86_64')
url='http://code.google.com/p/v8'
license=('BSD')
+depends=('gcc-libs')
makedepends=('subversion' 'scons')
build() {
- _source="http://v8.googlecode.com/svn/tags/$pkgver"
- svn checkout "$_source" "$srcdir/$pkgname-$pkgver"
+ _source="http://v8.googlecode.com/svn/tags/${pkgver}"
+ svn checkout "$_source" "${srcdir}/v8-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -24,9 +25,14 @@ build() {
scons d8 arch=$SCONS_ARCH
find include -type f \
- -exec install -Dm644 {} $pkgdir/usr/{} \;
- rm -rf $pkgdir/usr/include/.svn
+ -exec install -Dm644 {} ${pkgdir}/usr/{} \;
+ rm -rf ${pkgdir}/usr/include/.svn
- install -Dm755 d8 "$pkgdir/usr/bin/d8"
- install -Dm755 libv8.so "$pkgdir/usr/lib/libv8.so"
+ install -Dm755 d8 "${pkgdir}/usr/bin/d8"
+ install -Dm755 libv8.so "${pkgdir}/usr/lib/libv8.so"
+
+ # install license
+ install -d ${pkgdir}/usr/share/licenses/v8
+ install -m644 LICENSE* \
+ ${pkgdir}/usr/share/licenses/v8
}