mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
removed community/phantomjs
This commit is contained in:
parent
7afbe10e70
commit
df4986e01c
1 changed files with 0 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
|||
# $Id$
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: grimsock <lord.grimsock at gmail dot com>
|
||||
# Contributor: Dieter Plaetinck <dieter@plaetinck.be>
|
||||
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>
|
||||
# Contributor: Henry Tang <henryykt@gmail.com>
|
||||
|
||||
# remove when bumped upstream
|
||||
|
||||
pkgname=phantomjs
|
||||
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=('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
|
||||
|
||||
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() {
|
||||
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')
|
Loading…
Reference in a new issue