void-packages/srcpkgs/shunit2/template

28 lines
677 B
Bash

# Template file for 'shunit2'
pkgname=shunit2
version=2.1.8
revision=1
archs=noarch
depends="bash"
checkdepends="bash zsh ksh"
short_desc="Unit testing framework for Unix shell scripts based on xUnit"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/kward/shunit2"
changelog="https://raw.githubusercontent.com/kward/shunit2/master/doc/CHANGES-2.1.md"
distfiles="https://github.com/kward/shunit2/archive/v${version}.tar.gz"
checksum=b2fed28ba7282e4878640395284e43f08a029a6c27632df73267c8043c71b60c
do_check() {
./test_runner
}
do_install() {
for f in examples/*; do
vsconf "$f"
done
vbin shunit2
vdoc doc/design_doc.txt
}