Subject: [alpine-aports] [PATCH] testing/netsurf: update to 3.7

From: Cág <[email-masked]>
Date: Wed, 1 Nov 2017 20:15:24 +0000

---
 testing/netsurf/APKBUILD | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/testing/netsurf/APKBUILD b/testing/netsurf/APKBUILD
index d8c7c5cbc5..d6b5d6e6e5 100644
--- a/testing/netsurf/APKBUILD
+++ b/testing/netsurf/APKBUILD
@@ -2,8 +2,8 @@
 # Contributor: ScrumpyJack <[email-masked]>
 # Maintainer: ScrumpyJack <[email-masked]>
 pkgname=netsurf
-pkgver=3.6
-pkgrel=2
+pkgver=3.7
+pkgrel=0
 pkgdesc="NetSurf is a free, open source web browser."
 url="http://www.netsurf-browser.org"
 arch="all"
@@ -20,30 +20,24 @@ source="$pkgname-$pkgver.tar.gz::http://download.netsurf-browser.org/netsurf/rel
 
 builddir="$srcdir"/${pkgname}-all-${pkgver}
 prepare() {
-	default_prepare || return 1
-	sed 's:-Werror::' -i "$builddir"/libsvgtiny/Makefile \
-		|| return 1
+	default_prepare
+	sed 's:-Werror::' -i "$builddir"/libsvgtiny/Makefile
 }
 
 build() {
 	cd "$builddir"
-	make PREFIX=/usr TARGET=gtk || return 1
+	make PREFIX=/usr TARGET=gtk
 }
 
 package() {
 	cd "$builddir"
-	make PREFIX=/usr TARGET=gtk DESTDIR="${pkgdir}" \
-		install || return 1
+	make PREFIX=/usr TARGET=gtk DESTDIR="${pkgdir}" install
 
 	install -Dm755 "$srcdir/netsurf" "$pkgdir/usr/bin/$pkgname"
 
 	mkdir -p "$pkgdir"/usr/share/man/man1/
-	install -Dm644 netsurf/Docs/netsurf-gtk.1 "$pkgdir"/usr/share/man/man1/
+	install -Dm644 netsurf/docs/netsurf-gtk.1 "$pkgdir"/usr/share/man/man1/
 }
 
-md5sums="3a3ee17f090ead06ce665313175497f7  netsurf-3.6.tar.gz
-399e93451e79f5471aa16baab48cbb2c  netsurf"
-sha256sums="fdde93ab180222bda8e2135dbb52d7cc1b63c66eaa5da74782f1ce6d894df8b1  netsurf-3.6.tar.gz
-e0be8ff79d28bf8db392ae413bd27d917505bcaa03d4c834324413817eb26c4a  netsurf"
-sha512sums="1b7dcc80efe8e3944e5db7d74da749821adb3ae39700df3efa6ecb347a00e33350e1d56d4139654d50ac41563edf3de52f0eb25bff6490d74144a7970fb6c3b4  netsurf-3.6.tar.gz
+sha512sums="569c5a1bcce35bd69d3679ff5d7edd086238882ad24a9bcbdb51fccc2a950de45946f840aa38afb339c4c290c3070b4d6fe08eb6c912e9403489415beb3d6a91  netsurf-3.7.tar.gz
 a22f945720d3bd8fc27396aea973be1e0b6f7a03bbe438fb48faf680882be46b05fc252b5fe8d55cde0cc11f3647f4ac331dcc330f47ae12a93b327f30a9ad2a  netsurf"
-- 
2.15.0

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