void-packages/srcpkgs/slimerjs/template

21 lines
627 B
Bash

# Template file for 'slimerjs'
pkgname=slimerjs
version=0.10.3
revision=1
noarch=yes
depends="bash firefox-esr<52"
short_desc="A scriptable browser for Firefox"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MPL-2.0, 3-clause-BSD"
homepage="https://slimerjs.org/"
distfiles="https://github.com/laurentj/slimerjs/releases/download/${version}/slimerjs-${version}.tar.bz2"
checksum=50d7f0e94373ea5ef53e9577ccb7d0e3e60da84e37718ef24131c756be1837bd
do_install() {
vmkdir usr/bin
vmkdir usr/share/slimerjs
vcopy * usr/share/slimerjs
ln -sf /usr/share/slimerjs/slimerjs ${DESTDIR}/usr/bin/slimerjs
vlicense LICENSE
}