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