38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'xfconf'
|
|
pkgname=xfconf
|
|
version=4.18.0
|
|
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=2e8c50160bf800a807aea094fc9dad81f9f361f42db56607508ed5b4855d2906
|
|
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
|
|
}
|
|
}
|