29 lines
829 B
Bash
29 lines
829 B
Bash
|
# Template build file for 'wlc'
|
||
|
pkgname=wlc
|
||
|
version=0.0.2
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
hostmakedepends="pkg-config"
|
||
|
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=f430c81197a2157487c597206c1020eab81788b2673929c6118b95376af5e7cd
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|