diff options
author | patrick96 | 2020-03-29 19:57:37 +0200 |
---|---|---|
committer | patrick96 | 2020-03-29 19:57:37 +0200 |
commit | 74acd9b4162ef4302b7486bfdc79baa8be6758fd (patch) | |
tree | f024d407e992b7f8ddcd5676555c6709a4260854 | |
parent | c6b52d2c7604499b87aea3ef0b255d7da091249b (diff) | |
download | aur-74acd9b4162ef4302b7486bfdc79baa8be6758fd.tar.gz |
Version 2.1.8
The check function needs to be adapted because the tests only pass on
bash and some are otherwise running using the shell used to build the
package.
Ref: https://github.com/kward/shunit2/pull/130
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,13 +1,13 @@ pkgbase = shunit2 pkgdesc = xUnit based unit testing for Unix shell scripts - pkgver = 2.1.7 + pkgver = 2.1.8 pkgrel = 1 url = https://github.com/kward/shunit2/ arch = any license = Apache depends = bash - source = https://github.com/kward/shunit2//archive/v2.1.7.tar.gz - sha256sums = 41a103aa984bfdeea3fec426edb0b3dda19153a5ce448d4b4bbe52a85c4d7fee + source = https://github.com/kward/shunit2//archive/v2.1.8.tar.gz + sha256sums = b2fed28ba7282e4878640395284e43f08a029a6c27632df73267c8043c71b60c pkgname = shunit2 @@ -2,7 +2,7 @@ # Contributor: Johannes Dewender arch at JonnyJD dot net # Contributor: Geoffrey Teale <g.teale@elsevier.com> pkgname=shunit2 -pkgver=2.1.7 +pkgver=2.1.8 pkgrel=1 pkgdesc="xUnit based unit testing for Unix shell scripts" url="https://github.com/kward/shunit2/" @@ -10,14 +10,14 @@ arch=('any') license=('Apache') depends=('bash') source=(${url}/archive/v${pkgver}.tar.gz) -sha256sums=('41a103aa984bfdeea3fec426edb0b3dda19153a5ce448d4b4bbe52a85c4d7fee') +sha256sums=('b2fed28ba7282e4878640395284e43f08a029a6c27632df73267c8043c71b60c') -check() { +check() { cd ${srcdir}/$pkgname-$pkgver - ./test_runner + SHELL=/usr/bin/bash bash ./test_runner } -package() { +package() { cd ${srcdir}/$pkgname-$pkgver install -d ${pkgdir}/usr/share/doc/shunit2/examples install -t ${pkgdir}/usr/share/doc/shunit2 ./doc/* |