void-packages/srcpkgs/dconf/template

34 lines
976 B
Plaintext

# Template file for 'dconf'
pkgname=dconf
version=0.22.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"
makedepends="vala-devel>=0.24 dbus-devel gtk+3-devel libxml2-devel"
short_desc="A low-level configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://live.gnome.org/dconf"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=0a277cb0c3f09e77d9413c5a9b3577fc2b5d6e941b59b44940392e024a224b8e
dconf-devel_package() {
depends="libglib-devel vala-devel>=0.24 dconf>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
vmove usr/share/vala
}
}
dconf-editor_package() {
short_desc+=" - GTK+ editor"
pkg_install() {
vmove usr/bin/dconf-editor
vmove usr/share/applications
vmove usr/share/man/man1/dconf-editor.1
}
}