void-packages/srcpkgs/bats/template

29 lines
594 B
Bash

# Template file for 'bats'
pkgname=bats
version=1.8.0
revision=1
depends="bash"
checkdepends="procps-ng"
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=0d4c44823905af5e52a92f9164595c183fb0d0b43b0c4e9c9acf794af20468b7
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
}