2018-11-12 09:43:17 +01:00
|
|
|
# Template file for 'bats'
|
|
|
|
pkgname=bats
|
2018-12-09 12:21:47 +01:00
|
|
|
version=1.1.0
|
2018-11-12 09:43:17 +01:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2018-12-09 12:21:47 +01:00
|
|
|
wrksrc="bats-core-${version}"
|
2018-11-12 09:43:17 +01:00
|
|
|
depends="bash"
|
|
|
|
short_desc="Bash Automated Testing System"
|
|
|
|
maintainer="B. Wilson <x@wilsonb.com>"
|
|
|
|
license="MIT"
|
2018-12-09 12:21:47 +01: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 09:43:17 +01:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
./install.sh "${DESTDIR}/usr"
|
2018-12-09 12:21:47 +01:00
|
|
|
vlicense LICENSE.md
|
2018-11-12 09:43:17 +01:00
|
|
|
}
|