-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
24 lines (22 loc) · 863 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: L42y <[email protected]>
# Contributor: cbjohnson <[email protected]>
pkgname=slimerjs
pkgver=0.9.2
pkgrel=1
pkgdesc="A PhantomJS-like tool running Gecko"
arch=(i686 x86_64)
url="http://slimerjs.org/"
license=('MPL2')
depends=(xulrunner)
optdepends=('xorg-server-xvfb: run slimerjs without the need of an X-Windows environment')
source=(http://download.$pkgname.org/releases/$pkgver/$pkgname-$pkgver.zip)
md5sums=('b359c89029b9b8a2fc4eddbea6a16f6d')
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm644 application.ini $pkgdir/usr/lib/$pkgname/application.ini
install -Dm644 omni.ja $pkgdir/usr/lib/$pkgname/omni.ja
install -Dm755 $pkgname $pkgdir/usr/lib/$pkgname/$pkgname
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -d $pkgdir/usr/bin
ln -s /usr/lib/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
}