# Template file for 'wf-config'
pkgname=wf-config
version=0.10.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="glm libevdev-devel libxml2-devel"
short_desc="Wayfire library for managing configuration files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wayfire.org"
distfiles="https://github.com/WayfireWM/wf-config/archive/v${version}.tar.gz"
checksum=4264edf9f5f5ff9bccaee1ab3f5b2613a0db526bc90c15d7c82eb05a3fc81307

post_install() {
	vlicense LICENSE
}

wf-config-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
