Subject: [alpine-aports] [PATCH] testing/ghex: fix makedepends (intltool), modernize

From: alpine-mips-patches <[email-masked]>
Date: Mon, 1 Apr 2019 14:41:01 +0000

---
 testing/ghex/APKBUILD | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/testing/ghex/APKBUILD b/testing/ghex/APKBUILD
index f0484d2716..4d9a130aa8 100644
--- a/testing/ghex/APKBUILD
+++ b/testing/ghex/APKBUILD
@@ -3,15 +3,14 @@
 pkgname=ghex
 pkgver=3.18.3
 _pkgver=${pkgver%.*}
-pkgrel=0
+pkgrel=1
 pkgdesc="A hex editor for GNOME"
 url="https://wiki.gnome.org/Apps/Ghex"
 arch="all"
 license="GPL"
 depends="dconf"
 depends_dev="gtk+3.0-dev"
-makedepends="$depends_dev itstool libxml2-utils"
-install=""
+makedepends="$depends_dev intltool itstool libxml2-utils"
 subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
 source="https://download.gnome.org/sources/ghex/$_pkgver/$pkgname-$pkgver.tar.xz"
 
@@ -24,14 +23,13 @@ build() {
 		--host=$CHOST \
 		--prefix=/usr \
 		--disable-schemas-compile \
-		--enable-compile-warnings=no \
-		|| return 1
-	make || return 1
+		--enable-compile-warnings=no
+	make
 }
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" DATADIRNAME=share install || return 1
+	make DESTDIR="$pkgdir" DATADIRNAME=share install
 }
 
 sha512sums="e03b154a22db000a5994c68bb72280113e69e7ef210f86ab2c6578e77daabf50bac8eb620ffaad5a7eb776d23383478cbdc7fb317fa336cef55173f858519023  ghex-3.18.3.tar.xz"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---