From cbe2b4faaf13ef05870eee46106c970e31eb4cef Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 23 Nov 2017 13:53:51 -0200 Subject: [PATCH] New package: shunit2-2.1.6. Closes #9473. --- srcpkgs/shunit2/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/shunit2/template diff --git a/srcpkgs/shunit2/template b/srcpkgs/shunit2/template new file mode 100644 index 0000000000..1d6e25487d --- /dev/null +++ b/srcpkgs/shunit2/template @@ -0,0 +1,25 @@ +# Template file for 'shunit2' +pkgname=shunit2 +version=2.1.6 +revision=1 +checkdepends="bash zsh" +depends="bash" +short_desc="Unit testing framework for Unix shell scripts based on xUnit" +maintainer="maxice8 " +license="LGPL-2.1" +homepage="https://github.com/kward/shunit2" +distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$version.tgz" +checksum=65a313a76fd5cc1c58c9e19fbc80fc0e418a4cbfbd46d54b35ed5b6e0025d4ee +noarch=yes + +do_check() { + cd src && ./shunit2_test.sh +} + +do_install() { + for f in examples/*; do + vsconf "$f" + done + + vbin src/shunit2 +}