Date: Tuesday, February 24, 2015 @ 16:56:39 Author: fyan Revision: 128183
upgpkg: phantomjs 2.0.0-1 Modified: phantomjs/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-02-24 15:36:42 UTC (rev 128182) +++ PKGBUILD 2015-02-24 15:56:39 UTC (rev 128183) @@ -1,5 +1,5 @@ # $Id$ -# Maintainer: Felix Yan <[email protected]> +# Maintainer: Felix Yan <[email protected]> # Contributor: grimsock <lord.grimsock at gmail dot com> # Contributor: Dieter Plaetinck <[email protected]> # Contributor: Vladimir Chizhov <[email protected]> @@ -6,23 +6,22 @@ # Contributor: Henry Tang <[email protected]> pkgname=phantomjs -pkgver=1.9.8 +pkgver=2.0.0 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' 'fontconfig' 'freetype2' 'gcc-libs') +depends=('icu' 'libjpeg-turbo' 'libpng' 'freetype2' 'gperf' 'ruby' 'python2' 'gstreamer0.10-base') makedepends=('git') source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver") build() { cd $pkgname - - # 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 --confirm --qt-config "-no-rpath" + + mkdir "$srcdir/python2-path" + ln -s /usr/bin/python2 "$srcdir/python2-path/python" + PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 ./build.sh --confirm --qt-config "-no-rpath" } package() {
