2018-11-12 08:43:17 +00:00
|
|
|
# Template file for 'bats'
|
|
|
|
pkgname=bats
|
2018-12-09 11:21:47 +00:00
|
|
|
version=1.1.0
|
2018-11-12 08:43:17 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2018-12-09 11:21:47 +00:00
|
|
|
wrksrc="bats-core-${version}"
|
2018-11-12 08:43:17 +00:00
|
|
|
depends="bash"
|
|
|
|
short_desc="Bash Automated Testing System"
|
|
|
|
maintainer="B. Wilson <x@wilsonb.com>"
|
|
|
|
license="MIT"
|
2018-12-09 11:21:47 +00:00
|
|
|
homepage="https://github.com/bats-core/bats-core"
|
|
|
|
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
|
|
|
|
checksum=855d8b8bed466bc505e61123d12885500ef6fcdb317ace1b668087364717ea82
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
bash -c 'bin/bats --tap test'
|
|
|
|
}
|
2018-11-12 08:43:17 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
./install.sh "${DESTDIR}/usr"
|
2018-12-09 11:21:47 +00:00
|
|
|
vlicense LICENSE.md
|
2018-11-12 08:43:17 +00:00
|
|
|
}
|