diff options
Diffstat (limited to 'community/wlc/APKBUILD')
-rw-r--r-- | community/wlc/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/wlc/APKBUILD b/community/wlc/APKBUILD new file mode 100644 index 0000000000..34158ba454 --- /dev/null +++ b/community/wlc/APKBUILD @@ -0,0 +1,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" |