aboutsummaryrefslogtreecommitdiffstats
path: root/main/pinentry
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-12-05 10:52:14 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-12-06 10:57:50 +0100
commit2116e6d25174cc1a04036d1d1809465accea9b5b (patch)
treeef87f238e579d6f311f6838ecd0dbcb45d3b26f1 /main/pinentry
parentc48dca2b035f79d15f52656f7e28ae3b6ee38fd4 (diff)
downloadaports-2116e6d25174cc1a04036d1d1809465accea9b5b.tar.bz2
aports-2116e6d25174cc1a04036d1d1809465accea9b5b.tar.xz
main/pinentry: modernize APKBUILD
Diffstat (limited to 'main/pinentry')
-rw-r--r--main/pinentry/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/pinentry/APKBUILD b/main/pinentry/APKBUILD
index 8adb07326c..95ccd300d0 100644
--- a/main/pinentry/APKBUILD
+++ b/main/pinentry/APKBUILD
@@ -24,14 +24,13 @@ build () {
--enable-pinentry-gtk2 \
--disable-pinentry-qt \
--enable-pinentry-curses \
- --enable-fallback-curses \
- || return 1
- make || return 1
+ --enable-fallback-curses
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
# created by post install scripts so we can override with gtk version
rm -f "$pkgdir"/usr/bin/pinentry
@@ -41,7 +40,7 @@ gtk() {
install="pinentry-gtk.post-install pinentry-gtk.post-deinstall"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/pinentry-gtk* \
- "$subpkgdir"/usr/bin/ || return 1
+ "$subpkgdir"/usr/bin/
}
md5sums="4a3fad8b31f9b4c5526c8837495015dc pinentry-1.0.0.tar.bz2"