summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-14 15:41:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-14 15:41:34 (GMT)
commit9e20dc1d91c90a5e74f90e237f4dff4df9d0008a (patch)
tree4ec6267df14b5d053122d7b66235438d5ca42647 /abs/core
parent019de58d68566c27a1b487fef85e1d2982d2a691 (diff)
downloadlinhes_pkgbuild-9e20dc1d91c90a5e74f90e237f4dff4df9d0008a.zip
linhes_pkgbuild-9e20dc1d91c90a5e74f90e237f4dff4df9d0008a.tar.gz
linhes_pkgbuild-9e20dc1d91c90a5e74f90e237f4dff4df9d0008a.tar.bz2
tar: update to 1.30
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/tar/PKGBUILD52
-rw-r--r--abs/core/tar/tar.install21
2 files changed, 34 insertions, 39 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:
diff --git a/abs/core/tar/tar.install b/abs/core/tar/tar.install
deleted file mode 100644
index 8de1f97..0000000
--- a/abs/core/tar/tar.install
+++ /dev/null
@@ -1,21 +0,0 @@
-infodir=usr/share/info
-filelist=(tar.info tar.info-1 tar.info-2)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-