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
1 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'bats-support'.
# Template file for 'bats-support'
pkgname=bats-support
version=0.3.0
revision=1
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="${homepage}/archive/v${version}.tar.gz"
distfiles="https://github.com/bats-core/bats-support/archive/v${version}.tar.gz"
checksum=7815237aafeb42ddcc1b8c698fc5808026d33317d8701d5ec2396e9634e2918f
do_check() {
@ -19,10 +19,10 @@ do_install() {
local f
for f in *.bash; do
vinstall "$f" 644 usr/lib/bats-support
vinstall "$f" 644 usr/lib/bats/bats-support
done
for f in src/*.bash; do
vinstall "$f" 644 usr/lib/bats-support/src
vinstall "$f" 644 usr/lib/bats/bats-support/src
done
}