void-packages/srcpkgs/bats-support/template

29 lines
660 B
Bash

# Template file for 'bats-support'
pkgname=bats-support
version=0.3.0
revision=2
depends="bats"
checkdepends="$depends"
short_desc="Supporting library for BATS test helpers"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="CC0-1.0"
homepage="https://github.com/bats-core/bats-support"
distfiles="https://github.com/bats-core/bats-support/archive/v${version}.tar.gz"
checksum=7815237aafeb42ddcc1b8c698fc5808026d33317d8701d5ec2396e9634e2918f
do_check() {
bats test
}
do_install() {
local f
for f in *.bash; do
vinstall "$f" 644 usr/lib/bats/bats-support
done
for f in src/*.bash; do
vinstall "$f" 644 usr/lib/bats/bats-support/src
done
}