New package: shunit2-2.1.6.

Closes #9473.
This commit is contained in:
maxice8 2017-11-23 13:53:51 -02:00 committed by Enno Boland
parent 1711d5b295
commit cbe2b4faaf
1 changed files with 25 additions and 0 deletions

25
srcpkgs/shunit2/template Normal file
View File

@ -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 <thinkabit.ukim@gmail.com>"
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
}