Date: Friday, June 7, 2013 @ 11:30:43 Author: fyan Revision: 92503 addpkg: phantomjs
Added: phantomjs/ phantomjs/repos/ phantomjs/trunk/ phantomjs/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: phantomjs/trunk/PKGBUILD =================================================================== --- phantomjs/trunk/PKGBUILD (rev 0) +++ phantomjs/trunk/PKGBUILD 2013-06-07 09:30:43 UTC (rev 92503) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> +# Contributor: grimsock <lord.grimsock at gmail dot com> +# Contributor: Dieter Plaetinck <[email protected]> +# Contributor: Vladimir Chizhov <[email protected]> +# Contributor: Henry Tang <[email protected]> + +pkgname=phantomjs +pkgver=1.9.1 +pkgrel=1 +pkgdesc="Headless WebKit with JavaScript API" +url="http://www.phantomjs.org/" +license=('BSD' 'LGPL' 'MIT') +arch=('i686' 'x86_64') +depends=('gstreamer0.10-base') +makedepends=('unzip') +source=("http://phantomjs.googlecode.com/files/${pkgname}-${pkgver}-source.zip") +noextract=("${pkgname}-${pkgver}-source.zip") +md5sums=('93a0043d4ff8cd83e23e9d261c93830d') + +build() { + # workaround for https://code.google.com/p/libarchive/issues/detail?id=271 + # cd $srcdir/$pkgname-$pkgver + unzip ${pkgname}-${pkgver}-source.zip + cd $pkgname-$pkgver + # workaround for http://code.google.com/p/phantomjs/issues/detail?id=635 + sed -i 's/QMAKE_LFLAGS+=-fuse-ld=gold/#QMAKE_LFLAGS+=-fuse-ld=gold/' src/qt/src/3rdparty/webkit/Source/common.pri + ./build.sh +} + +package() { + install -Dm755 "$srcdir/$pkgname-$pkgver/bin/phantomjs" "$pkgdir/usr/bin/" + install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE.BSD" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.BSD" + install -Dm644 "$srcdir/$pkgname-$pkgver/third-party.txt" "$pkgdir/usr/share/licenses/$pkgname/third-party.txt" +} + Property changes on: phantomjs/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
