summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tar/PKGBUILD
blob: a22d45590c758e6060f05057e2fe2231a335c50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 1082 2008-04-29 16:11:13Z andyrtr $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=tar
pkgver=1.20
pkgrel=11
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)
md5sums=('1a7e17f27abf583b3b0bc059a827e68b'
         'a5f8c5da7a9465ea1978145f3ef0610c')

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
}