void-packages/srcpkgs/libxfce4util/template

34 lines
988 B
Bash

# Template file for 'libxfce4util'
pkgname=libxfce4util
version=4.18.2
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="mobinmob <mobinmob@disroot.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=d9a329182b78f7e2520cd4aafcbb276bbbf162f6a89191676539ad2e3889c353
# 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
}
}