blob: 411517daa615c12c26a756e3a82be7d18e904946 (
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
37
38
|
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
pkgname=wlc
pkgver=0.0.7
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 \
|| return 1
make || return 1
make test || return 1
}
package() {
make DESTDIR="$pkgdir/" \
-C "$builddir" install || return 1
}
md5sums="24861124da94c87cddb7a6739ed1ed30 wlc-0.0.7.tar.bz2"
sha256sums="47e9b756d3fd621df913a6fbc9378c47aa8f9c3be7c2228a657a2411a7211979 wlc-0.0.7.tar.bz2"
sha512sums="19775e965d5fc6501be4fa004955e4403859dfbcfaa99897977f4ad3a13493c08a70f7e5c77a1ab76e892c3fa855658a37082bd077287ead08240888b7fc17f0 wlc-0.0.7.tar.bz2"
|