36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'exo'
|
|
pkgname=exo
|
|
version=4.16.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-locales-dir=/usr/share/locale"
|
|
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel"
|
|
makedepends="gtk+-devel libxfce4ui-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Extension library for the Xfce desktop environment"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://docs.xfce.org/xfce/exo/start"
|
|
changelog="https://gitlab.xfce.org/xfce/exo/-/raw/master/NEWS"
|
|
distfiles="https://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2"
|
|
checksum=82a50c67e78f1e5c420b7615515bcca759b86eeab99224ab8eca4306b89d2eca
|
|
|
|
pre_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Disable tests:
|
|
sed -i 's/^\([[:blank:]]*po\).*$/\1/;/^[[:blank:]]*tests$/d' Makefile.am
|
|
fi
|
|
NOCONFIGURE=1 xdt-autogen
|
|
}
|
|
|
|
exo-devel_package() {
|
|
depends="libxfce4ui-devel exo-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/share/*doc"
|
|
}
|
|
}
|