aboutsummaryrefslogtreecommitdiffstats
path: root/testing/abduco
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-02-14 11:11:29 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2019-02-14 11:39:53 +0100
commit8cf450503b9e57661ebfd9da49ba2ca8ff1ae768 (patch)
tree8b467756eb378ee21b08e96f64204219db49b8eb /testing/abduco
parentfc16a98f051257fe4e9ce26e6cbfdb2d562689c6 (diff)
downloadaports-8cf450503b9e57661ebfd9da49ba2ca8ff1ae768.tar.bz2
aports-8cf450503b9e57661ebfd9da49ba2ca8ff1ae768.tar.xz
testing/abduco: modernize APKBUILD
Diffstat (limited to 'testing/abduco')
-rw-r--r--testing/abduco/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/abduco/APKBUILD b/testing/abduco/APKBUILD
index 24819dbe11..d5e67a0f56 100644
--- a/testing/abduco/APKBUILD
+++ b/testing/abduco/APKBUILD
@@ -13,19 +13,17 @@ makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://www.brain-dump.org/projects/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- make -C "$_builddir" || return 1
+ make -C "$builddir"
}
package() {
- cd "$_builddir"
- make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 README.md \
- "$pkgdir"/usr/share/doc/$pkgname/README.md || return 1
+ "$pkgdir"/usr/share/doc/$pkgname/README.md
}
-md5sums="4ba353c8fe66096e0ecd3cfe4d96e51a abduco-0.6.tar.gz"
-sha256sums="c90909e13fa95770b5afc3b59f311b3d3d2fdfae23f9569fa4f96a3e192a35f4 abduco-0.6.tar.gz"
sha512sums="3b70a5cc10f0a2743dcbdf6eebdcfcee0e4f4ff8c6ce0bf0aa9f55c3fa85ab43aa659997735e063eab36aba69f91be7bb5519f3f632bff1b9098f5179165c1f2 abduco-0.6.tar.gz"