void-packages/srcpkgs/shunit2/template
Đoàn Trần Công Danh 7a74343620 shunit2: remove bash from checkdepends
- bash is provided by chroot-bash inside chroot
- upon installing checkdepends, bash will replace chroot-bash,
  upon cleanup after checking, uninstall bash will render chroot
  broken, see #23929
- check is failing on testIssue84 with both bash and chroot-bash,
  I didn't bother to check why.
2020-08-04 08:35:49 +07:00

27 lines
672 B
Bash

# Template file for 'shunit2'
pkgname=shunit2
version=2.1.8
revision=1
archs=noarch
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
}