slimerjs: update to 0.10.0.

Fixes #3997
This commit is contained in:
Michael Gehring 2016-05-30 19:04:40 +02:00
parent 7a205ac1ea
commit c651433531

View file

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