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