| Name |
tar |
| Description |
Utility used to store, backup, and transport files |
| Version |
1.35-2 |
| Package Base |
tar |
| Homepage |
https://www.gnu.org/software/tar/ |
| Maintainers |
['Sébastien Luttringer <seblu@archlinux.org>'] |
| Contributors |
['Allan McRae <allan@archlinux.org>', 'Andreas Radke <andyrtr@archlinux.org>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/tar |
| Sources |
['https://ftp.gnu.org/gnu/tar/tar-1.35.tar.xz', 'https://ftp.gnu.org/gnu/tar/tar-1.35.tar.xz.sig'] |
| Dependencies |
['acl', 'glibc'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
[] |
| Provides |
[] |
| Builddate |
30-09-2023 14:09:47 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['GPL3'] |
| Hash |
76d2aa4c56ee9a70f71246bde8b7fd3e0405c524c9a572d7e64b6431f72de2b6 |
# Mainainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=tar
pkgver=1.35
pkgrel=2
pkgdesc='Utility used to store, backup, and transport files'
arch=('x86_64')
url='https://www.gnu.org/software/tar/'
license=('GPL-3.0-or-later')
depends=('glibc' 'acl')
checkdepends=('attr')
options=('!emptydirs')
validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16'
'SKIP')
prepare() {
cd $pkgname-$pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
msg2 "Applying patch $src..."
patch -Np1 < "../$src"
done
:
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/tar \
--enable-backup-scripts
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: