void-packages/srcpkgs/wlc/template
2016-10-26 09:30:30 +02:00

28 lines
843 B
Bash

# Template build file for 'wlc'
pkgname=wlc
version=0.0.7
revision=1
build_style=cmake
hostmakedepends="pkg-config wayland-devel"
makedepends="pixman-devel MesaLib-devel libxkbcommon-devel libdrm-devel
xcb-util-image-devel xcb-util-wm-devel wayland-devel libinput-devel"
short_desc="Wayland Compositor Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/Cloudef/wlc"
license="MIT"
distfiles="https://github.com/Cloudef/$pkgname/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
checksum=47e9b756d3fd621df913a6fbc9378c47aa8f9c3be7c2228a657a2411a7211979
post_install() {
vlicense LICENSE
}
wlc-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}