void-packages/srcpkgs/xfce4-dev-tools/template

25 lines
866 B
Bash

# Template file for 'xfce4-dev-tools'
pkgname=xfce4-dev-tools
version=4.16.0
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool gtk-doc intltool pkg-config glib-devel"
makedepends="libglib-devel"
depends="${hostmakedepends}"
short_desc="Xfce developer tools"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=f50b3070e66f3ebdf331744dd1ec5e1af5de333965d491e15ce05545e8eb4f04
post_patch() {
[ "$CROSS_BUILD" ] || return 0
# For testing, which can't be run on cross build
vsed -i -e '/^\ttest-xdt-csource\t/d' tests/Makefile.am
vsed -i -e 's/^TESTS =.*/TESTS =/' \
-e 's/^check_PROGRAMS =.*/check_PROGRAMS =/' \
-e 's/\$.*xdt-csource --extern.*>/touch /' \
tests/Makefile.in
}