From c651433531f27174ea3edd122fa7f49a2b941f2b Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 30 May 2016 19:04:40 +0200 Subject: [PATCH] slimerjs: update to 0.10.0. Fixes #3997 --- srcpkgs/slimerjs/template | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/srcpkgs/slimerjs/template b/srcpkgs/slimerjs/template index ac02aa2a39..e8578c13d2 100644 --- a/srcpkgs/slimerjs/template +++ b/srcpkgs/slimerjs/template @@ -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 " 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 }