# Template file for 'exo' pkgname=exo version=0.12.8 revision=3 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel perl-URI" makedepends="gtk+-devel libxfce4ui-devel" depends="hicolor-icon-theme desktop-file-utils perl-URI" short_desc="Extension library for the Xfce desktop environment" maintainer="Orphaned " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://xfce.org/" distfiles="https://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2" checksum=3400a2e64aa41ede25bedaca4909bde7ea4f8698d9598d1b80f02a40ac89fcde conf_files="/etc/xdg/xfce4/helpers.rc" pre_configure() { if [ "$CROSS_BUILD" ]; then # Disable tests: sed -i 's/^\([[:blank:]]*po\).*$/\1/;/^[[:blank:]]*tests$/d' Makefile.am fi mkdir m4 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/bin/exo-csource vmove usr/share/man/man1/exo-csource.1 vmove "usr/share/*doc" } }