summaryrefslogtreecommitdiff
path: root/community/phantomjs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/phantomjs/PKGBUILD')
-rw-r--r--community/phantomjs/PKGBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/community/phantomjs/PKGBUILD b/community/phantomjs/PKGBUILD
index 9bbf6f5cc..05628853f 100644
--- a/community/phantomjs/PKGBUILD
+++ b/community/phantomjs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 97046 2013-09-11 13:42:10Z fyan $
+# $Id: PKGBUILD 104973 2014-01-29 04:07:48Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: grimsock <lord.grimsock at gmail dot com>
# Contributor: Dieter Plaetinck <dieter@plaetinck.be>
@@ -6,23 +6,19 @@
# Contributor: Henry Tang <henryykt@gmail.com>
pkgname=phantomjs
-pkgver=1.9.2
+pkgver=1.9.7
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')
-makedepends=('unzip')
-source=("http://phantomjs.googlecode.com/files/${pkgname}-${pkgver}-source.zip")
-noextract=("${pkgname}-${pkgver}-source.zip")
+depends=('gstreamer0.10-base' 'fontconfig' 'freetype2' 'gcc-libs')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver")
build() {
- # workaround for https://code.google.com/p/libarchive/issues/detail?id=271
- # cd $srcdir/$pkgname-$pkgver
- unzip ${pkgname}-${pkgver}-source.zip
+ cd $pkgname
- 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
@@ -30,13 +26,13 @@ build() {
}
package() {
- install -Dm755 "$srcdir/$pkgname-$pkgver/bin/phantomjs" "$pkgdir/usr/bin/phantomjs"
+ install -Dm755 "$srcdir/$pkgname/bin/phantomjs" "$pkgdir/usr/bin/phantomjs"
mkdir -p "$pkgdir/usr/share/$pkgname"
- cp -r "$srcdir/$pkgname-$pkgver/examples" "$pkgdir/usr/share/$pkgname"/
+ cp -r "$srcdir/$pkgname/examples" "$pkgdir/usr/share/$pkgname"/
- 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"
+ install -Dm644 "$srcdir/$pkgname/LICENSE.BSD" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.BSD"
+ install -Dm644 "$srcdir/$pkgname/third-party.txt" "$pkgdir/usr/share/licenses/$pkgname/third-party.txt"
}
-sha512sums=('ada4010a1ba43950f25bcf42bc41f158c8dc91320edff18efece68c69cd16d1246512fbd66e2dcbe9d0ecd71d8587252570072e2499ec9dfce0ac871c0ce2720')
+sha512sums=('SKIP')