# Template file for 'chroot-sed'
pkgname=chroot-sed
version=4.2.1
revision=1
wrksrc="sed-${version}"
build_style=gnu-configure
configure_args="--disable-acl --disable-nls --disable-i18n --without-included-regex"
short_desc="The GNU stream editor -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.gnu.org/gnu/sed/sed-$version.tar.gz"
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
homepage="http://www.gnu.org/software/sed/"
license="GPL-3"
long_desc="
 Sed, the GNU Stream Editor, copies the named files (standard input default)
 to the standard output, edited according to a script of commands.

 This package is only meant to be used by xbps-src, don't install it manually."

bootstrap=yes

post_install() {
	rm -rf ${DESTDIR}/usr/share
}

chroot-sed_package() {
	conflicts="sed>=0"
	provides="sed-${version}"
	pkg_install() {
		vmove usr
	}
}
