mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: bats-support-0.3.0
This commit is contained in:
parent
3737812ed3
commit
0491d8e401
1 changed files with 28 additions and 0 deletions
28
srcpkgs/bats-support/template
Normal file
28
srcpkgs/bats-support/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue