# $Id$ # Maintainer: Allan McRae # Contributor: Andreas Radke pkgname=tar pkgver=1.26 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') depends=('glibc' 'sh') options=('!emptydirs') install=tar.install source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz tar.1) md5sums=('0ced6f20b9fa1bea588005b5ad4b52c1' 'e0538778516a284e3558c454b2576c2f') build() { cd ${srcdir}/$pkgname-$pkgver FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin make } check() { cd ${srcdir}/$pkgname-$pkgver make check } package() { cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1 }