1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
4 pkgname=bash-bats-support
7 pkgdesc="Supporting library for Bats test helpers"
9 url="https://github.com/ztombol/bats"
10 license=("custom:CC0")
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/ztombol/bats-support/archive/v$pkgver.tar.gz")
13 sha512sums=('417a8054462a44a6f46e375526cc1c920bae54ea76ddec3ff46603fe68bdb5c58f51bfb1c7e066347a3b71ff4d43986fd5157eb55151e0c4b5d189d81282ea14')
16 cd bats-support-$pkgver
21 cd bats-support-$pkgver
25 "$pkgdir"/usr/lib/bats-support/$(basename $fn)
28 for fn in src/*.bash; do
30 "$pkgdir"/usr/lib/bats-support/src/$(basename $fn)
33 install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE