void-packages/srcpkgs/dconf/template

35 lines
977 B
Plaintext

# Template file for 'dconf'
pkgname=dconf
version=0.20.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=22c046a247d05ea65ad181e3aef4009c898a5531f76c0181f8ec0dfef83447d9
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
}
}