void-packages/srcpkgs/bats/template

23 lines
538 B
Bash

# Template file for 'bats'
pkgname=bats
version=1.2.0
revision=1
archs=noarch
wrksrc="bats-core-${version}"
depends="bash"
short_desc="Bash Automated Testing System"
maintainer="B. Wilson <x@wilsonb.com>"
license="MIT"
homepage="https://github.com/bats-core/bats-core"
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
checksum=c74ea5517d9381c044e8e87427de0113be6ad591213d489aeaa28146daf1c723
do_check() {
bash -c 'bin/bats --tap test'
}
do_install() {
./install.sh "${DESTDIR}/usr"
vlicense LICENSE.md
}