From 6b1c57fc65f2287e030430c04e955ede3a74de26 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 4 Aug 2011 17:31:55 -0500
Subject: tar: Bump to latest. ref #647

---
 abs/core/tar/PKGBUILD    | 14 +++++++++-----
 abs/core/tar/__changelog |  1 +
 abs/core/tar/tar.install |  2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)
 create mode 100644 abs/core/tar/__changelog

diff --git a/abs/core/tar/PKGBUILD b/abs/core/tar/PKGBUILD
index d4dd25b..3bde59b 100644
--- a/abs/core/tar/PKGBUILD
+++ b/abs/core/tar/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 98542 2010-11-11 03:48:12Z allan $
+# $Id$
 # Maintainer: Allan McRae <allan@archlinux.org>
 # Contributor: Andreas Radke <andyrtr@archlinux.org>
 
 pkgname=tar
-pkgver=1.25
+pkgver=1.26
 pkgrel=1
 pkgdesc="Utility used to store, backup, and transport files"
 arch=('i686' 'x86_64')
@@ -13,16 +13,20 @@ groups=('base')
 depends=('glibc' 'sh')
 options=('!emptydirs')
 install=tar.install
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
         tar.1)
-md5sums=('6e497f861c77bbba2f7da4e10270995b'
+md5sums=('0ced6f20b9fa1bea588005b5ad4b52c1'
          'e0538778516a284e3558c454b2576c2f')
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver
 
-  ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
+  FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
   make
+}
+
+check() {
+  cd ${srcdir}/$pkgname-$pkgver
   make check
 }
   
diff --git a/abs/core/tar/__changelog b/abs/core/tar/__changelog
new file mode 100644
index 0000000..4c86946
--- /dev/null
+++ b/abs/core/tar/__changelog
@@ -0,0 +1 @@
+added FORCE_UNSAFE_CONFIGURE=1 to configure line of PKGBUILD
diff --git a/abs/core/tar/tar.install b/abs/core/tar/tar.install
index 2f36c3c..8de1f97 100644
--- a/abs/core/tar/tar.install
+++ b/abs/core/tar/tar.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
 filelist=(tar.info tar.info-1 tar.info-2)
 
 post_install() {
-- 
cgit v0.12

