parent
7a205ac1ea
commit
c651433531
|
@ -1,27 +1,21 @@
|
|||
# Template file for 'slimerjs'
|
||||
pkgname=slimerjs
|
||||
version=0.9.6
|
||||
revision=3
|
||||
version=0.10.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc=$pkgname-RELEASE_$version
|
||||
hostmakedepends="zip"
|
||||
depends="bash firefox-esr<40"
|
||||
hostmakedepends="unzip"
|
||||
depends="bash firefox-esr<47"
|
||||
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
|
||||
}
|
||||
distfiles="http://download.slimerjs.org/releases/${version}/slimerjs-${version}.zip"
|
||||
checksum=80b8008d9d8592e55e2744e1842139e33498221c2a78648fea1bdd0592231afb
|
||||
|
||||
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
|
||||
vmkdir usr/bin
|
||||
vmkdir usr/share/slimerjs
|
||||
vcopy * usr/share/slimerjs
|
||||
ln -s /usr/share/slimerjs/slimerjs ${DESTDIR}/usr/bin/slimerjs
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue