void-packages/srcpkgs/bats/template

29 lines
593 B
Bash

# Template file for 'bats'
pkgname=bats
version=1.9.0
revision=1
depends="bash"
checkdepends="procps-ng"
short_desc="Bash Automated Testing System"
maintainer="Piraty <mail@piraty.dev>"
license="MIT"
homepage="https://github.com/bats-core/bats-core"
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
checksum=3c64295318d157616ca2478de819371e2c579ccdab30c1f0b7279f7b214fb1f4
pre_check() {
export TERM=linux
}
do_check() {
./bin/bats --print-output-on-failure --tap test
}
do_install() {
./install.sh "${DESTDIR}/usr"
}
post_install() {
vlicense LICENSE.md
}