7a74343620
- 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.
27 lines
672 B
Bash
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
|
|
}
|