void-packages/srcpkgs/bats/template

23 lines
536 B
Bash

# Template file for 'bats'
pkgname=bats
version=1.1.0
revision=1
noarch=yes
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=855d8b8bed466bc505e61123d12885500ef6fcdb317ace1b668087364717ea82
do_check() {
bash -c 'bin/bats --tap test'
}
do_install() {
./install.sh "${DESTDIR}/usr"
vlicense LICENSE.md
}