void-packages/srcpkgs/shunit2/template

26 lines
630 B
Bash

# 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
}