# $Id: PKGBUILD 1082 2008-04-29 16:11:13Z andyrtr $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=tar
pkgver=1.23
pkgrel=1
pkgdesc="Utility used to store, backup, and transport files"
arch=('i686' 'x86_64')
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)

build() {
  cd $startdir/src/$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
}
md5sums=('41e2ca4b924ec7860e51b43ad06cdb7e'
         'a5f8c5da7a9465ea1978145f3ef0610c')