void-packages/srcpkgs/chroot-tar/template

31 lines
677 B
Plaintext

# Template build file for 'chroot-tar'.
pkgname=chroot-tar
version=1.26
revision=1
wrksrc="tar-${version}"
build_style=gnu-configure
homepage="http://www.gnu.org/software/tar/"
license="GPL-3"
short_desc="The GNU tape archiver -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.gnu.org/gnu/tar/tar-$version.tar.bz2"
checksum=5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41
bootstrap=yes
pre_configure() {
sed -i -e '/gets is a/d' gnu/stdio.in.h
}
post_install() {
rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec
}
chroot-tar_package() {
conflicts="tar>=0"
provides="tar-${version}"
pkg_install() {
vmove usr
}
}