void-packages/srcpkgs/libxfce4util/template

32 lines
914 B
Bash

# Template file for 'libxfce4util'
pkgname=libxfce4util
version=4.14.0
revision=1
build_style=gnu-configure
build_helper="gir"
hostmakedepends="pkg-config intltool"
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=32ad79b7992ec3fd863e8ff2f03eebda8740363ef9d7d910a35963ac1c1a6324
# 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
}
}