blob: 34158ba454583019a651d7138d147390384035e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=wlc
pkgver=0.0.8
pkgrel=1
pkgdesc="Wayland Compositor Library"
url="https://github.com/Cloudef/wlc"
arch="all"
license="MIT"
depends="xkeyboard-config"
makedepends="cmake eudev-dev libinput-dev libx11-dev libxkbcommon-dev mesa-dev
pixman-dev wayland-dev wayland-protocols xcb-util-image-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() {
cd "$builddir"
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
|| return 1
make
}
check() {
make test -C "$builddir"
}
package() {
make DESTDIR="$pkgdir/" -C "$builddir" install
}
sha512sums="5ddf7dfc5115fa51ea078933b60c6e8ef9515db98f1c47d4ecfe3f49e07dbdadf2bbeb6f6002cc83d13098dee5fa7e66fcae211a58bd762ee984088aebadb779 wlc-0.0.8.tar.bz2"
|