void-packages/srcpkgs/slimerjs/template

22 lines
619 B
Bash

# Template file for 'slimerjs'
pkgname=slimerjs
version=0.10.0
revision=1
noarch=yes
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="http://download.slimerjs.org/releases/${version}/slimerjs-${version}.zip"
checksum=80b8008d9d8592e55e2744e1842139e33498221c2a78648fea1bdd0592231afb
do_install() {
vmkdir usr/bin
vmkdir usr/share/slimerjs
vcopy * usr/share/slimerjs
ln -s /usr/share/slimerjs/slimerjs ${DESTDIR}/usr/bin/slimerjs
vlicense LICENSE
}