void-packages/srcpkgs/shunit2/template
maxice8 9c3201b2d9 shunit2: update to 2.1.7.
Closes: #10632 [via git-merge-pr]
2018-01-11 12:08:54 +01:00

25 lines
565 B
Bash

# Template file for 'shunit2'
pkgname=shunit2
version=2.1.7
revision=1
checkdepends="bash zsh ksh"
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://github.com/kward/shunit2/archive/v${version}.tar.gz"
checksum=41a103aa984bfdeea3fec426edb0b3dda19153a5ce448d4b4bbe52a85c4d7fee
noarch=yes
do_check() {
./test_runner
}
do_install() {
for f in examples/*; do
vsconf "$f"
done
vbin shunit2
}