diff --git a/srcpkgs/bats/template b/srcpkgs/bats/template index 05f9b9f54e0..4093ce46ee9 100644 --- a/srcpkgs/bats/template +++ b/srcpkgs/bats/template @@ -1,17 +1,22 @@ # Template file for 'bats' pkgname=bats -version=0.4.0 +version=1.1.0 revision=1 noarch=yes +wrksrc="bats-core-${version}" depends="bash" short_desc="Bash Automated Testing System" maintainer="B. Wilson " license="MIT" -homepage="https://github.com/sstephenson/bats" -distfiles="https://github.com/sstephenson/bats/archive/v${version}.tar.gz" -checksum=480d8d64f1681eee78d1002527f3f06e1ac01e173b761bc73d0cf33f4dc1d8d7 +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' +} do_install() { ./install.sh "${DESTDIR}/usr" - vlicense LICENSE + vlicense LICENSE.md }