aboutsummaryrefslogtreecommitdiffstats
path: root/main/bats/APKBUILD
blob: 68bb877d872493a17db2de274e5fb443d50e31ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jose-Luis Rivas <ghostbar@riseup.net>
pkgname=bats
pkgver=1.1.0
pkgrel=1
pkgdesc="Bash Automated Testing System"
url="https://github.com/bats-core/bats-core"
arch="noarch"
license="MIT"
depends="bash"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://github.com/bats-core/bats-core/archive/v$pkgver.zip"
builddir="$srcdir/bats-core-$pkgver"

check() {
	cd "$builddir"
	bash -c 'bin/bats --tap test'
}

package() {
	cd "$builddir"
	./install.sh "$pkgdir"/usr
}
sha512sums="accd83cfec0025a2be40982b3f9a314c2bbf72f5c85daffa9e9419611904a8d34e376919a5d53e378382e0f3794d2bd781046d810225e2a77812474e427bed9e  bats-1.1.0.zip"