# Template file for 'xfconf' pkgname=xfconf version=4.18.3 revision=1 build_helper=gir build_style=gnu-configure configure_args="--with-locales-dir=/usr/share/locale --enable-gsettings-backend" hostmakedepends="pkg-config intltool glib-devel vala-devel perl" makedepends="libxfce4util-devel vala-devel" checkdepends="dbus xvfb-run" short_desc="Xfce hierarchical (tree-like) configuration system" maintainer="Đoàn Trần Công Danh " 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=c56cc69056f6947b2c60b165ec1e4c2b0acf26a778da5f86c89ffce24d5ebd98 build_options="gir" build_options_default="gir" do_check() { dbus-run-session xvfb-run make check } 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 if [ "$build_option_gir" ]; then vmove usr/share/vala vmove usr/share/gir-1.0 fi } }