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: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
pkgname=wlc pkgname=wlc
pkgver=0.0.8 pkgver=0.0.8
pkgrel=0 pkgrel=1
pkgdesc="Wayland Compositor Library" pkgdesc="Wayland Compositor Library"
url="https://github.com/Cloudef/wlc" url="https://github.com/Cloudef/wlc"
arch="all" arch="all"
...@@ -13,7 +12,6 @@ makedepends="cmake eudev-dev libinput-dev libx11-dev libxkbcommon-dev mesa-dev ...@@ -13,7 +12,6 @@ makedepends="cmake eudev-dev libinput-dev libx11-dev libxkbcommon-dev mesa-dev
xcb-util-wm-dev" xcb-util-wm-dev"
subpackages="$pkgname-dev" subpackages="$pkgname-dev"
source="https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2" source="https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver" builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
...@@ -24,13 +22,15 @@ build() { ...@@ -24,13 +22,15 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
|| return 1 || return 1
make || return 1 make
make test || return 1 }
check() {
make test -C "$builddir"
} }
package() { package() {
make DESTDIR="$pkgdir/" \ make DESTDIR="$pkgdir/" -C "$builddir" install
-C "$builddir" install || return 1
} }
sha512sums="5ddf7dfc5115fa51ea078933b60c6e8ef9515db98f1c47d4ecfe3f49e07dbdadf2bbeb6f6002cc83d13098dee5fa7e66fcae211a58bd762ee984088aebadb779 wlc-0.0.8.tar.bz2" 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