void-packages/srcpkgs/chroot-sed/template

23 lines
691 B
Text

# Template file for 'chroot-sed'
pkgname=chroot-sed
version=4.2.2
revision=2
wrksrc="sed-${version}"
bootstrap=yes
conflicts="sed>=0"
provides="sed-${version}_${revision}"
build_style=gnu-configure
configure_args="--disable-acl --disable-nls --disable-i18n"
short_desc="The GNU stream editor -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/sed/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/sed/sed-$version.tar.gz"
checksum=fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
post_install() {
rm -rf ${DESTDIR}/usr/share
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
rm -f ${DESTDIR}/usr/lib/charset.alias
fi
}