void-packages/srcpkgs/xfconf/template

46 lines
1.3 KiB
Plaintext

# Template file for 'xfconf'
pkgname=xfconf
version=4.10.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config intltool>=0.50.2_1 perl>=5.16"
makedepends="perl-ExtUtils-Depends perl-ExtUtils-PkgConfig
perl-Glib>=1.242_1 dbus-glib-devel libxfce4util-devel"
short_desc="Xfce hierarchical (tree-like) configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://xfce.org"
distfiles="http://archive.se.xfce.org/src/xfce/xfconf/4.10/$pkgname-$version.tar.bz2"
checksum=175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576
long_desc="
Xfconf is a hierarchical (tree-like) configuration system where the
immediate child nodes of the root are called channels. All settings
beneath the channel nodes are called properties."
xfconf-devel_package() {
depends="dbus-glib-devel xfconf>=$version"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}
xfconf-perl_package() {
depends="perl-Glib>=1.242_1"
short_desc="${short_desc} - perl bindings"
pkg_install() {
vmove usr/lib/perl5
vmove usr/share/man
find ${PKGDESTDIR}/usr/lib/perl5 -type f \
-name perllocal.pod -o -name .packlist|xargs rm -f
}
}
xfconf_package() {
pkg_install() {
vmove usr
}
}