diff options
Diffstat (limited to 'community/v8/PKGBUILD')
-rw-r--r-- | community/v8/PKGBUILD | 22 |
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 } |