vp-build/srcpkgs/chroot-diffutils/template

28 lines
787 B
Plaintext

# Template file for 'chroot-diffutils'
pkgname=chroot-diffutils
version=3.2
revision=3
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=ab4fb75d0ef35f3c8c9a148cd3526ba6f4db71d10467a041eb45006436079149
pre_configure() {
sed -i -e '/gets is a/d' lib/stdio.in.h
}
post_install() {
rm -rf ${DESTDIR}/usr/share
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
rm -f ${DESTDIR}/usr/lib/charset.alias
fi
}