void-packages/srcpkgs/shunit2/template
Đoàn Trần Công Danh c37edf1411 shunit2: remove noarch
2020-11-23 18:53:50 +07:00

26 lines
659 B
Bash

# Template file for 'shunit2'
pkgname=shunit2
version=2.1.8
revision=2
depends="bash"
checkdepends="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
}