void-packages/srcpkgs/libxfce4util/template
Đoàn Trần Công Danh 45fc3f7777 libxfce4util: fix l10n dir
2020-12-31 21:38:33 +07:00

33 lines
968 B
Bash

# Template file for 'libxfce4util'
pkgname=libxfce4util
version=4.16.0
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--with-locales-dir=/usr/share/locale"
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=60598d745d1fc81ff5ad3cecc3a8d1b85990dd22023e7743f55abd87d8b55b83
# 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
}
}