From 2116e6d25174cc1a04036d1d1809465accea9b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Tue, 5 Dec 2017 10:52:14 +0100 Subject: main/pinentry: modernize APKBUILD --- main/pinentry/APKBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'main') 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" -- cgit v1.2.3