28 lines
573 B
Bash
28 lines
573 B
Bash
# Template file for 'bats'
|
|
pkgname=bats
|
|
version=1.5.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=36a3fd4413899c0763158ae194329af8f48bb1ff0d1338090b80b3416d5793af
|
|
|
|
pre_check() {
|
|
export TERM=linux
|
|
}
|
|
|
|
do_check() {
|
|
./bin/bats --tap test
|
|
}
|
|
|
|
do_install() {
|
|
./install.sh "${DESTDIR}/usr"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
}
|