void-packages/srcpkgs/xfconf/template
2020-04-06 16:08:21 +00:00

27 lines
977 B
Bash

# Template file for 'xfconf'
pkgname=xfconf
version=4.14.1
revision=2
build_style=gnu-configure
configure_args="--enable-gsettings-backend
$(vopt_enable perl 'perl-bindings --with-perl-options=INSTALLDIRS=vendor')"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="libxfce4util-devel $(vopt_if perl 'perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib')"
short_desc="Xfce hierarchical (tree-like) configuration system"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only, LGPL-2.0-only"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/xfconf/${version%.*}/$pkgname-$version.tar.bz2"
checksum=b893e0a329aee00902fec2f0509f56916c9dcc7844e1b1f9e3c7399458290d59
build_options="perl"
xfconf-devel_package() {
depends="dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}