29 lines
594 B
Bash
29 lines
594 B
Bash
# Template file for 'bats'
|
|
pkgname=bats
|
|
version=1.11.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=aeff09fdc8b0c88b3087c99de00cf549356d7a2f6a69e3fcec5e0e861d2f9063
|
|
|
|
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
|
|
}
|