diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-14 15:41:34 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-14 15:41:34 (GMT) |
commit | 9e20dc1d91c90a5e74f90e237f4dff4df9d0008a (patch) | |
tree | 4ec6267df14b5d053122d7b66235438d5ca42647 /abs/core/tar/PKGBUILD | |
parent | 019de58d68566c27a1b487fef85e1d2982d2a691 (diff) | |
download | linhes_pkgbuild-9e20dc1d91c90a5e74f90e237f4dff4df9d0008a.zip linhes_pkgbuild-9e20dc1d91c90a5e74f90e237f4dff4df9d0008a.tar.gz linhes_pkgbuild-9e20dc1d91c90a5e74f90e237f4dff4df9d0008a.tar.bz2 |
tar: update to 1.30
Diffstat (limited to 'abs/core/tar/PKGBUILD')
-rw-r--r-- | abs/core/tar/PKGBUILD | 52 |
1 files changed, 34 insertions, 18 deletions
diff --git a/abs/core/tar/PKGBUILD b/abs/core/tar/PKGBUILD index 2fa4afb..182de16 100644 --- a/abs/core/tar/PKGBUILD +++ b/abs/core/tar/PKGBUILD @@ -1,35 +1,51 @@ -# $Id: PKGBUILD 199999 2013-11-21 01:21:02Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id$ +# Mainainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=tar -pkgver=1.27.1 +pkgver=1.30 pkgrel=1 -pkgdesc="Utility used to store, backup, and transport files" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/tar/tar.html" +pkgdesc='Utility used to store, backup, and transport files' +arch=('x86_64') +url='https://www.gnu.org/software/tar/' license=('GPL3') groups=('base') -depends=('glibc' 'sh') +depends=('glibc' 'acl' 'attr') options=('!emptydirs') -install=tar.install -source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff +source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) +md5sums=('2d01c6cd1387be98f57a0ec4e6e35826' + 'SKIP') + +prepare() { + cd $pkgname-$pkgver + # apply patch from the source array (should be a pacman feature) + local filename + for filename in "${source[@]}"; do + if [[ "$filename" =~ \.patch$ ]]; then + msg2 "Applying patch ${filename##*/}" + patch -p1 -N -i "$srcdir/${filename##*/}" + fi + done + : +} build() { - cd ${srcdir}/$pkgname-$pkgver -export FORCE_UNSAFE_CONFIGURE=1 + cd $pkgname-$pkgver + export FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --libexecdir=/usr/lib/tar make } -3check() { - cd ${srcdir}/$pkgname-$pkgver +check() { + cd $pkgname-$pkgver make check } - + package() { - cd ${srcdir}/$pkgname-$pkgver - make DESTDIR=${pkgdir} install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } -md5sums=('e0382a4064e09a4943f3adeff1435978' - 'SKIP') + +# vim:set ts=2 sw=2 et: |