Subject: [alpine-aports] [PATCH] testing/lablgtk: remove returns, has no check

From: Jean-Louis Fuchs <[email-masked]>
Date: Thu, 23 Mar 2017 14:01:17 +0100

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

diff --git a/testing/lablgtk/APKBUILD b/testing/lablgtk/APKBUILD
index b5782a47e4..a7d7a5d80a 100644
--- a/testing/lablgtk/APKBUILD
+++ b/testing/lablgtk/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Jean-Louis Fuchs <[email-masked]>
 pkgname=lablgtk
 pkgver=2.18.5
-pkgrel=1
+pkgrel=2
 pkgdesc="LablGtk - an OCaml interface to GTK+ 2.x"
 url="http://lablgtk.forge.ocamlcore.org/"
 # ocaml is not built for x86, armhf
@@ -15,13 +15,15 @@ subpackages="$pkgname-doc $pkgname-dev"
 source="https://forge.ocamlcore.org/frs/download.php/1627/lablgtk-$pkgver.tar.gz"
 builddir="$srcdir/lablgtk-$pkgver"
 
+options="!check"
+
 build() {
 	cd "$builddir"
 
-	./configure --prefix=/usr || return 1
-	make world || return 1
-	make opt || return 1
-	make doc || return 1
+	./configure --prefix=/usr
+	make world
+	make opt
+	make doc
 }
 
 doc() {
@@ -34,7 +36,7 @@ doc() {
 
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 	rm -f "$pkgdir"/usr/lib/ocaml/ld.conf
 }
 
-- 
2.11.1

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