void-packages/srcpkgs/bats/template
Đoàn Trần Công Danh 688951da74 bats: remove noarch
2020-11-21 17:20:11 +07:00

21 lines
525 B
Bash

# Template file for 'bats'
pkgname=bats
version=1.2.0
revision=2
wrksrc="bats-core-${version}"
depends="bash"
short_desc="Bash Automated Testing System"
maintainer="B. Wilson <x@wilsonb.com>"
license="MIT"
homepage="https://github.com/bats-core/bats-core"
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
checksum=c74ea5517d9381c044e8e87427de0113be6ad591213d489aeaa28146daf1c723
do_check() {
bash -c 'bin/bats --tap test'
}
do_install() {
./install.sh "${DESTDIR}/usr"
vlicense LICENSE.md
}