void-packages/srcpkgs/wf-config/template

28 lines
740 B
Bash

# Template file for 'wf-config'
pkgname=wf-config
version=0.7.1
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=9c212f85bfb26d135610f45865b4401e0c33a0ab3577ac65042eb23ebfe91bdb
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"
}
}