# Template file for 'chroot-diffutils'
pkgname=chroot-diffutils
version=3.3
revision=1
wrksrc="diffutils-${version}"
bootstrap=yes
conflicts="diffutils>=0"
provides="diffutils-${version}_${revision}"
build_style=gnu-configure
configure_args="--disable-nls ac_cv_libsigsegv=/bin/false"
short_desc="The GNU diff utilities -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/diffutils"
license="GPL-3"
distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz"
checksum=a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c

post_install() {
	rm -rf ${DESTDIR}/usr/share
	if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
		rm -f ${DESTDIR}/usr/lib/charset.alias
	fi
}
