# Template file for 'wf-config'
pkgname=wf-config
version=0.9.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="glm libevdev-devel libxml2-devel"
short_desc="Wayfire library for managing configuration files"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="MIT"
homepage="https://wayfire.org"
distfiles="https://github.com/WayfireWM/wf-config/archive/v${version}.tar.gz"
checksum=973a47795d3397d281d89c561903867f691c9fe8c3d141ba887afd12902c790d

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"
	}
}
