updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / phantomjs / PKGBUILD
blob05d2acadf4560689a70e316b93bda82cfab6b2c8
1 # Maintainer: Vladimir Chizhov <jagoterr@gmail.com>
3 pkgname=phantomjs
4 pkgver=1.4.1
5 pkgrel=1
6 pkgdesc="Headless WebKit with JavaScript API"
7 url="http://www.phantomjs.org/"
8 license=("BSD")
9 arch=('i686' 'x86_64')
10 depends=('qt>=4.7.0' 'qtwebkit')
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=("http://phantomjs.googlecode.com/files/${pkgname}-${pkgver}-source.zip")
17 md5sums=('2a20f46ae627451106f66bcbd70a9ae0')
19 build() {
20   cd $srcdir/$pkgname-$pkgver
21   qmake && make || return 1
24 package() {
25   mkdir -p $pkgdir/usr/bin/
26   install -D -m755 $srcdir/$pkgname-$pkgver/bin/phantomjs $pkgdir/usr/bin/