mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 00:12:56 +02:00
bats: update to 1.5.0.
This commit is contained in:
parent
34440c74c4
commit
8c15f82fb4
1 changed files with 12 additions and 5 deletions
|
@ -1,21 +1,28 @@
|
||||||
# Template file for 'bats'
|
# Template file for 'bats'
|
||||||
pkgname=bats
|
pkgname=bats
|
||||||
version=1.2.0
|
version=1.5.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="bats-core-${version}"
|
wrksrc="bats-core-${version}"
|
||||||
depends="bash"
|
depends="bash"
|
||||||
short_desc="Bash Automated Testing System"
|
short_desc="Bash Automated Testing System"
|
||||||
maintainer="B. Wilson <x@wilsonb.com>"
|
maintainer="Piraty <piraty1@inbox.ru>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/bats-core/bats-core"
|
homepage="https://github.com/bats-core/bats-core"
|
||||||
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
|
distfiles="https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"
|
||||||
checksum=c74ea5517d9381c044e8e87427de0113be6ad591213d489aeaa28146daf1c723
|
checksum=36a3fd4413899c0763158ae194329af8f48bb1ff0d1338090b80b3416d5793af
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
export TERM=linux
|
||||||
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
bash -c 'bin/bats --tap test'
|
./bin/bats --tap test
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
./install.sh "${DESTDIR}/usr"
|
./install.sh "${DESTDIR}/usr"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue