aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wlc
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2017-03-08 19:47:50 -0500
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-10 09:31:34 +0000
commit7bb6c6485d59f9453f020e09551b9b61559554d7 (patch)
tree0ad0b525c0572156ceb3f9e8336719f9cff451d2 /testing/wlc
parentb124569f67c59fb43f5feb5eb58e030c450eeeb9 (diff)
downloadaports-7bb6c6485d59f9453f020e09551b9b61559554d7.tar.bz2
aports-7bb6c6485d59f9453f020e09551b9b61559554d7.tar.xz
testing/wlc: add check and take maintainership
Diffstat (limited to 'testing/wlc')
-rw-r--r--testing/wlc/APKBUILD16
1 files 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
@@ -1,8 +1,7 @@
-# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
-# Maintainer:
+# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=wlc
pkgver=0.0.8
-pkgrel=0
+pkgrel=1
pkgdesc="Wayland Compositor Library"
url="https://github.com/Cloudef/wlc"
arch="all"
@@ -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() {
@@ -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"