Created
January 28, 2015 07:26
-
-
Save L42y/61a90337f203cbe237c6 to your computer and use it in GitHub Desktop.
slimerjs 0.9.5 PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: sirajul147 <siraj [dot] mussafirr [at] gmail[dot] com> | |
# Contributor: L42y <[email protected]> | |
pkgname=slimerjs | |
pkgver=0.9.5 | |
pkgrel=1 | |
pkgdesc="A PhantomJS-like tool running Gecko" | |
arch=('i686' 'x86_64') | |
url="http://slimerjs.org/" | |
license=(custom:'MPL2.0') | |
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) | |
sha512sums=('62d81c2b98b3046af64bbef9223e4fa5c94e6849c7b02181dcd636fdddb510822e2bc63587f2f9d5d0a4a20267b9c6cd755346cf9b7d094bd5b9eab32110fc8d') | |
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment