Mail archive
alpine-aports

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

From: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Jean-Louis Fuchs <ganwell_at_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
_at_@ -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() {
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Mar 23 2017 - 14:01:17 GMT