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

Jean-Louis Fuchs
Details
Message ID
<20170323130117.24750-1-ganwell@fangorn.ch>
Sender timestamp
1490274077
DKIM signature
missing
Download raw message
Patch: +8 -6
---
 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 <ganwell@fangorn.ch>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---