void-packages/srcpkgs/bats/template
2022-02-24 22:15:21 +01:00

29 lines
573 B
Bash

# Template file for 'bats'
pkgname=bats
version=1.6.0
revision=1
wrksrc="bats-core-${version}"
depends="bash"
short_desc="Bash Automated Testing System"
maintainer="Piraty <piraty1@inbox.ru>"
license="MIT"
homepage="https://github.com/bats-core/bats-core"
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
checksum=a8572da41593d13837df6c93d01fc0867c0701c53a7e29b7a7c867dcce19a239
pre_check() {
export TERM=linux
}
do_check() {
./bin/bats --tap test
}
do_install() {
./install.sh "${DESTDIR}/usr"
}
post_install() {
vlicense LICENSE.md
}