summaryrefslogtreecommitdiff
path: root/user/shunit2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 07:11:20 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 07:11:20 +0000
commitb89973ddfb487ee684f1641da4a629df3cab59f0 (patch)
tree5922eb99f2463ed97da4d9f85f9bb3a6d166f052 /user/shunit2
parenta426e38699d7058f09df179e7d4ad1dfe852f69f (diff)
downloadpackages-b89973ddfb487ee684f1641da4a629df3cab59f0.tar.gz
packages-b89973ddfb487ee684f1641da4a629df3cab59f0.tar.bz2
packages-b89973ddfb487ee684f1641da4a629df3cab59f0.tar.xz
packages-b89973ddfb487ee684f1641da4a629df3cab59f0.zip
user/shunit2: Modernise syntax
Diffstat (limited to 'user/shunit2')
-rw-r--r--user/shunit2/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/user/shunit2/APKBUILD b/user/shunit2/APKBUILD
index baa658cf8..499f9a53e 100644
--- a/user/shunit2/APKBUILD
+++ b/user/shunit2/APKBUILD
@@ -8,23 +8,18 @@ url="https://github.com/kward/shunit2"
arch="noarch"
license="Apache-2.0"
depends="/bin/sh"
-makedepends=""
checkdepends="cmd:which bash dash zsh"
+makedepends=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kward/shunit2/archive/v$pkgver.tar.gz
- dash-negative-lineno.patch"
-
-build() {
- cd "$builddir"
-}
+ dash-negative-lineno.patch
+ "
check() {
- cd "$builddir"
./test_runner
}
package() {
- cd "$builddir"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "doc/$pkgname.txt" "$pkgdir/usr/share/doc/$pkgname/$pkgname.rst"
}