diff options
Diffstat (limited to 'core/tar/MAKEPKG')
| -rw-r--r-- | core/tar/MAKEPKG | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/core/tar/MAKEPKG b/core/tar/MAKEPKG new file mode 100644 index 0000000..dcfba99 --- /dev/null +++ b/core/tar/MAKEPKG @@ -0,0 +1,44 @@ +#!/bin/mkpkg +# description: GNU tape archiver +# url: https://www.gnu.org/software/tar/ + +name=tar +version=1.35 +release=3 +depends=(acl) +#lockbox=(make) +source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) + +sha256sums=( + "4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16" +) + +patch() { + cd $name-$version + sed -i -E 's/acl_(get_file|set_file|delete_def_file)_at/tar_&/g' src/xattrs.c +} + +build() { + cd $name-$version + + ./configure \ + --prefix=/ \ + --bindir=/bin \ + --libexecdir=/lib/tar \ + --mandir=/usr/share/man \ + --disable-nls \ + --without-selinux \ + FORCE_UNSAFE_CONFIGURE=1 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/share +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
