diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-06 11:14:42 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-06 11:42:26 +0100 |
commit | 981dae5d3d081ad67209489592421e214255d934 (patch) | |
tree | 85967a98315466b40aa95b0ad78a8c9b66f330dd /testing | |
parent | 7962188c9cef2789881984554d6f89ea02433667 (diff) | |
download | aports-981dae5d3d081ad67209489592421e214255d934.tar.bz2 aports-981dae5d3d081ad67209489592421e214255d934.tar.xz |
testing/gwenhywfar: modernize APKBUILD
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gwenhywfar/APKBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testing/gwenhywfar/APKBUILD b/testing/gwenhywfar/APKBUILD index c746ee3d00..45b7a401dd 100644 --- a/testing/gwenhywfar/APKBUILD +++ b/testing/gwenhywfar/APKBUILD @@ -19,10 +19,9 @@ source="$pkgname-$pkgver.tar.gz::https://www.aquamaniac.de/sites/download/downlo builddir="$srcdir/$pkgname-$pkgver" prepare() { - default_prepare || return 1 - + default_prepare cd "$builddir" - autoreconf -vfi || return 1 + autoreconf -vfi } build() { @@ -36,19 +35,17 @@ build() { --localstatedir=/var \ --with-guis= \ --enable-ssl \ - --enable-visibility \ - || return 1 - make || return 1 + --enable-visibility + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/$pkgname install -m644 AUTHORS ChangeLog README TODO \ - "$pkgdir"/usr/share/doc/$pkgname \ - || return 1 + "$pkgdir"/usr/share/doc/$pkgname } sha512sums="a14d625518d94c94491df149f9e746ed8d769f4e43b6df24f51f4269f29005f7431e33e85de0bde0a81a2e876fea8ddad5ed4191114295d6c9ea2e94aba08799 gwenhywfar-4.15.3.tar.gz |