void-packages/srcpkgs/chroot-tar/template

24 lines
693 B
Plaintext

# Template build file for 'chroot-tar'.
pkgname=chroot-tar
version=1.27.1
revision=2
wrksrc="tar-${version}"
bootstrap=yes
conflicts="tar>=0"
provides="tar-${version}_${revision}"
build_style=gnu-configure
configure_args="--disable-acl"
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.xz"
checksum=574210bccbcf9eec889f73234a63ad6863f5b8644ac1f3d7f13871372295b7c7
post_install() {
rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
rm -f ${DESTDIR}/usr/lib/charset.alias
fi
}