Date: Wednesday, April 8, 2015 @ 23:13:39
  Author: andyrtr
Revision: 130997

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  phantomjs/repos/community-testing-i686/
  phantomjs/repos/community-testing-i686/PKGBUILD
    (from rev 130996, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-testing-x86_64/
  phantomjs/repos/community-testing-x86_64/PKGBUILD
    (from rev 130996, phantomjs/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   41 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: phantomjs/repos/community-testing-i686/PKGBUILD (from rev 130996, 
phantomjs/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2015-04-08 21:13:39 UTC (rev 130997)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: grimsock <lord.grimsock at gmail dot com>
+# Contributor: Dieter Plaetinck <die...@plaetinck.be>
+# Contributor: Vladimir Chizhov <jagot...@gmail.com>
+# Contributor: Henry Tang <henry...@gmail.com>
+
+pkgname=phantomjs
+pkgver=2.0.0
+pkgrel=3
+pkgdesc="Headless WebKit with JavaScript API"
+url="http://www.phantomjs.org/";
+license=('BSD' 'LGPL' 'MIT')
+arch=('i686' 'x86_64')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 
'gstreamer0.10-base')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver";)
+
+build() {
+  cd $pkgname
+  
+  mkdir "$srcdir/python2-path"
+  ln -s /usr/bin/python2 "$srcdir/python2-path/python"
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  # shared build requires qt 5.3
+  #sed -i "s/export QMAKE=qmake/export QMAKE=qmake-qt5/" build.sh
+  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # 
--qtwebkit=system
+}
+
+package() {
+  install -Dm755 "$srcdir/$pkgname/bin/phantomjs" "$pkgdir/usr/bin/phantomjs"
+
+  mkdir -p "$pkgdir/usr/share/$pkgname"
+  cp -r "$srcdir/$pkgname/examples" "$pkgdir/usr/share/$pkgname"/
+
+  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=('SKIP')

Copied: phantomjs/repos/community-testing-x86_64/PKGBUILD (from rev 130996, 
phantomjs/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-04-08 21:13:39 UTC (rev 130997)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: grimsock <lord.grimsock at gmail dot com>
+# Contributor: Dieter Plaetinck <die...@plaetinck.be>
+# Contributor: Vladimir Chizhov <jagot...@gmail.com>
+# Contributor: Henry Tang <henry...@gmail.com>
+
+pkgname=phantomjs
+pkgver=2.0.0
+pkgrel=3
+pkgdesc="Headless WebKit with JavaScript API"
+url="http://www.phantomjs.org/";
+license=('BSD' 'LGPL' 'MIT')
+arch=('i686' 'x86_64')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 
'gstreamer0.10-base')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver";)
+
+build() {
+  cd $pkgname
+  
+  mkdir "$srcdir/python2-path"
+  ln -s /usr/bin/python2 "$srcdir/python2-path/python"
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  # shared build requires qt 5.3
+  #sed -i "s/export QMAKE=qmake/export QMAKE=qmake-qt5/" build.sh
+  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # 
--qtwebkit=system
+}
+
+package() {
+  install -Dm755 "$srcdir/$pkgname/bin/phantomjs" "$pkgdir/usr/bin/phantomjs"
+
+  mkdir -p "$pkgdir/usr/share/$pkgname"
+  cp -r "$srcdir/$pkgname/examples" "$pkgdir/usr/share/$pkgname"/
+
+  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=('SKIP')

Reply via email to