38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'xfconf'
|
|
pkgname=xfconf
|
|
version=4.18.1
|
|
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 <congdanhqx@gmail.com>"
|
|
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=d9714751bbcfdc5a59340da6ef8ddfc0807221587b962d907f97dc0a8a002257
|
|
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
|
|
}
|
|
}
|