Commit 7bb6c648 authored by Daniel Sabogal's avatar Daniel Sabogal Committed by Leonardo Arena

testing/wlc: add check and take maintainership

parent b124569f
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment