mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/bats-support: new aport
This commit is contained in:
parent
a3d86d6ee6
commit
23a5eed7ab
24
testing/bats-support/APKBUILD
Normal file
24
testing/bats-support/APKBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
# Contributor: qaqland <qaq@qaq.land>
|
||||
# Maintainer: qaqland <qaq@qaq.land>
|
||||
pkgname=bats-support
|
||||
pkgver=0.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="Supporting library for Bats test helpers"
|
||||
url="https://github.com/bats-core/bats-support"
|
||||
arch="noarch"
|
||||
license="CC0-1.0"
|
||||
depends="bash bats-core"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/bats-core/bats-support/archive/refs/tags/v$pkgver.tar.gz"
|
||||
|
||||
check() {
|
||||
bats test
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 load.bash "$pkgdir"/usr/lib/bats/bats-support/load.bash
|
||||
install -Dm644 src/* -t "$pkgdir"/usr/lib/bats/bats-support/src
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
417a8054462a44a6f46e375526cc1c920bae54ea76ddec3ff46603fe68bdb5c58f51bfb1c7e066347a3b71ff4d43986fd5157eb55151e0c4b5d189d81282ea14 bats-support-0.3.0.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user