summaryrefslogtreecommitdiffstats
path: root/abs/core/tar/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-06 02:53:20 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-06 02:53:20 (GMT)
commitefa9a13579a40d72578c24f02a03a292062ccb38 (patch)
tree2afc3c601f91075691c4addb37d9938e676cd23a /abs/core/tar/PKGBUILD
parent7c9e721d1df506efec4c390587a9128af66d227c (diff)
downloadlinhes_pkgbuild-efa9a13579a40d72578c24f02a03a292062ccb38.zip
linhes_pkgbuild-efa9a13579a40d72578c24f02a03a292062ccb38.tar.gz
linhes_pkgbuild-efa9a13579a40d72578c24f02a03a292062ccb38.tar.bz2
tar:bumped to latest
Diffstat (limited to 'abs/core/tar/PKGBUILD')
-rw-r--r--abs/core/tar/PKGBUILD37
1 files changed, 24 insertions, 13 deletions
diff --git a/abs/core/tar/PKGBUILD b/abs/core/tar/PKGBUILD
index c7c9f74..d4dd25b 100644
--- a/abs/core/tar/PKGBUILD
+++ b/abs/core/tar/PKGBUILD
@@ -1,22 +1,33 @@
-# $Id: PKGBUILD 1082 2008-04-29 16:11:13Z andyrtr $
-# Maintainer: judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 98542 2010-11-11 03:48:12Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+
pkgname=tar
-pkgver=1.23
-pkgrel=2
+pkgver=1.25
+pkgrel=1
pkgdesc="Utility used to store, backup, and transport files"
arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/tar/tar.html"
license=('GPL3')
groups=('base')
-url="http://www.gnu.org/software/tar/tar.html"
-depends=('glibc' 'bash')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 tar.1)
+depends=('glibc' 'sh')
+options=('!emptydirs')
+install=tar.install
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2
+ tar.1)
+md5sums=('6e497f861c77bbba2f7da4e10270995b'
+ 'e0538778516a284e3558c454b2576c2f')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd ${srcdir}/$pkgname-$pkgver
+
./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
- make || return 1
- make DESTDIR=$startdir/pkg install
- install -D -m644 ../tar.1 $startdir/pkg/usr/share/man/man1/tar.1
+ make
+ make check
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+ install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1
}
-md5sums=('41e2ca4b924ec7860e51b43ad06cdb7e'
- 'a5f8c5da7a9465ea1978145f3ef0610c')