void-packages/srcpkgs/xfconf/template

27 lines
942 B
Bash

# Template file for 'xfconf'
pkgname=xfconf
version=4.12.1
revision=1
build_options="perl"
build_style=gnu-configure
configure_args="$(vopt_enable perl 'perl-bindings --with-perl-options=INSTALLDIRS=vendor')"
hostmakedepends="pkg-config intltool"
makedepends="dbus-glib-devel libxfce4util-devel $(vopt_if perl 'perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib')"
short_desc="Xfce hierarchical (tree-like) configuration system"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2, LGPL-2.1"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/xfconf/${version%.*}/$pkgname-$version.tar.bz2"
checksum=35f48564e5694faa54fdc180cd3268e16fc2352946a89a3c2fc12cbe400ada36
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
}
}