bats-support: install in bats search path

This commit is contained in:
classabbyamp 2024-01-14 15:30:38 -05:00 committed by Andrew J. Hesford
parent d29d187fda
commit 6cca889898

View file

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