From 8c15f82fb40329e474acbd69fbf222f5e483d6ea Mon Sep 17 00:00:00 2001 From: Piraty Date: Sun, 30 Jan 2022 14:54:27 +0100 Subject: [PATCH] bats: update to 1.5.0. --- srcpkgs/bats/template | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/srcpkgs/bats/template b/srcpkgs/bats/template index ee85a77bb19..e401526a973 100644 --- a/srcpkgs/bats/template +++ b/srcpkgs/bats/template @@ -1,21 +1,28 @@ # Template file for 'bats' pkgname=bats -version=1.2.0 -revision=2 +version=1.5.0 +revision=1 wrksrc="bats-core-${version}" depends="bash" short_desc="Bash Automated Testing System" -maintainer="B. Wilson " +maintainer="Piraty " 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 +checksum=36a3fd4413899c0763158ae194329af8f48bb1ff0d1338090b80b3416d5793af + +pre_check() { + export TERM=linux +} do_check() { - bash -c 'bin/bats --tap test' + ./bin/bats --tap test } do_install() { ./install.sh "${DESTDIR}/usr" +} + +post_install() { vlicense LICENSE.md }