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

25 lines
882 B
Bash

# Template file for 'xfce4-dev-tools'
pkgname=xfce4-dev-tools
version=4.18.0
revision=1
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="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=eedb4fc955f0e3459c46864ff98579295db2b900743e0ff69cad5970ba76be37
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
}