void-packages/srcpkgs/wf-config/template

29 lines
769 B
Bash

# Template file for 'wf-config'
pkgname=wf-config
version=0.4.0
revision=3
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/${version}.tar.gz"
checksum=78a922074138c2324ed242e8bf5791a599dfc96bbb2ee677685ae43657629333
post_install() {
vlicense LICENSE
}
wf-config-devel_package() {
depends="libevdev-devel wlroots-devel libxml2-devel
${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}