30 lines
880 B
Bash
30 lines
880 B
Bash
# Template build file for 'wlc'
|
|
pkgname=wlc
|
|
version=0.0.9
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config wayland-devel wayland-protocols"
|
|
makedepends="pixman-devel MesaLib-devel libxkbcommon-devel libdrm-devel
|
|
xcb-util-image-devel xcb-util-wm-devel wayland-devel wayland-protocols
|
|
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=cc239283c1d87aff9d258e0f4dd5a3ad441d8c6e52be8204abd8694435e4c3b5
|
|
|
|
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
|
|
}
|
|
}
|