29 lines
620 B
Bash
29 lines
620 B
Bash
|
# Template file for 'bats-support'
|
||
|
pkgname=bats-support
|
||
|
version=0.3.0
|
||
|
revision=1
|
||
|
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="${homepage}/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-support
|
||
|
done
|
||
|
|
||
|
for f in src/*.bash; do
|
||
|
vinstall "$f" 644 usr/lib/bats-support/src
|
||
|
done
|
||
|
}
|