void-packages/srcpkgs/slimerjs/template

28 lines
779 B
Bash
Raw Normal View History

2015-08-14 08:26:51 +00:00
# Template file for 'slimerjs'
pkgname=slimerjs
version=0.9.6
revision=3
2015-08-14 08:26:51 +00:00
noarch=yes
wrksrc=$pkgname-RELEASE_$version
hostmakedepends="zip"
2015-08-14 09:19:45 +00:00
depends="bash firefox-esr<40"
2015-08-14 08:26:51 +00:00
short_desc="A scriptable browser for Firefox"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MPL-2.0, BSD"
homepage="https://slimerjs.org"
distfiles="https://github.com/laurentj/$pkgname/archive/RELEASE_${version}.tar.gz"
checksum=6c0b36c2ed21351e7dd26140e452af5f98877d1071021d164b97daf39f9fe55c
do_build() {
./buildpackage.sh --no-bin
}
do_install() {
local dist=_dist/$pkgname-$version
mkdir -p $DESTDIR/usr/{bin,share/$pkgname}
vcopy "$dist/$pkgname $dist/*.ja $dist/*.ini $dist/chrome" \
usr/share/$pkgname
ln -s ../share/$pkgname/$pkgname $DESTDIR/usr/bin/$pkgname
vlicense LICENSE
}