blob: 97ca20cd4a984c3a0c6d10332c166a43a0bee75a (
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
|
# Maintainer:
pkgname=wlc
pkgver=0.0.11
pkgrel=0
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
make
}
check() {
make test -C "$builddir"
}
package() {
make DESTDIR="$pkgdir/" -C "$builddir" install
}
sha512sums="29e7d734cee76b9d0d1fabac71bab33a7146fec8557e583be2d0e85413fa77ed938f23f3bc8728f1f0766239d5eb023ace52abb9b78d40ce1edf876185a60ea5 wlc-0.0.11.tar.bz2"
|