34 lines
988 B
Bash
34 lines
988 B
Bash
# Template file for 'libxfce4util'
|
|
pkgname=libxfce4util
|
|
version=4.18.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--with-locales-dir=/usr/share/locale"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir vala)"
|
|
makedepends="libglib-devel"
|
|
short_desc="Utility library for the Xfce4 desktop environment"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://xfce.org/"
|
|
distfiles="https://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
|
|
checksum=1157ca717fd3dd1da7724a6432a4fb24af9cd922f738e971fd1fd36dfaeac3c9
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libxfce4util-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|