26 lines
567 B
Bash
26 lines
567 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
|
|
archs=noarch
|
|
|
|
do_check() {
|
|
./test_runner
|
|
}
|
|
|
|
do_install() {
|
|
for f in examples/*; do
|
|
vsconf "$f"
|
|
done
|
|
|
|
vbin shunit2
|
|
}
|