Mail archive
alpine-aports

[alpine-aports] [PATCH 3/5] testing/wlc: add check and take maintainership

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Wed, 8 Mar 2017 19:47:50 -0500

---
 testing/wlc/APKBUILD | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/testing/wlc/APKBUILD b/testing/wlc/APKBUILD
index 622ecf82cd..34158ba454 100644
--- a/testing/wlc/APKBUILD
+++ b/testing/wlc/APKBUILD
_at_@ -1,8 +1,7 @@
-# Contributor: Daniel Sabogal <dsabogalcc_at_gmail.com>
-# Maintainer:
+# Maintainer: Daniel Sabogal <dsabogalcc_at_gmail.com>
 pkgname=wlc
 pkgver=0.0.8
-pkgrel=0
+pkgrel=1
 pkgdesc="Wayland Compositor Library"
 url="https://github.com/Cloudef/wlc"
 arch="all"
_at_@ -13,7 +12,6 @@ makedepends="cmake eudev-dev libinput-dev libx11-dev libxkbcommon-dev mesa-dev
 	xcb-util-wm-dev"
 subpackages="$pkgname-dev"
 source="https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
-
 builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
_at_@ -24,13 +22,15 @@ build() {
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=lib \
 		|| return 1
-	make || return 1
-	make test || return 1
+	make
+}
+
+check() {
+	make test -C "$builddir"
 }
 
 package() {
-	make DESTDIR="$pkgdir/" \
-		-C "$builddir" install || return 1
+	make DESTDIR="$pkgdir/" -C "$builddir" install
 }
 
 sha512sums="5ddf7dfc5115fa51ea078933b60c6e8ef9515db98f1c47d4ecfe3f49e07dbdadf2bbeb6f6002cc83d13098dee5fa7e66fcae211a58bd762ee984088aebadb779  wlc-0.0.8.tar.bz2"
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Mar 08 2017 - 19:47:50 GMT