summaryrefslogtreecommitdiffstats
path: root/abs/core/tar/PKGBUILD
blob: 2fa4afb4d62bde6f7b158c05c8beabef3ebd32a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 199999 2013-11-21 01:21:02Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>

pkgname=tar
pkgver=1.27.1
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{,.sig})

build() {
  cd ${srcdir}/$pkgname-$pkgver
export FORCE_UNSAFE_CONFIGURE=1 
  ./configure --prefix=/usr --libexecdir=/usr/lib/tar
  make
}

3check() {
  cd ${srcdir}/$pkgname-$pkgver
  make check
}
  
package() {
  cd ${srcdir}/$pkgname-$pkgver
  make DESTDIR=${pkgdir} install
}
md5sums=('e0382a4064e09a4943f3adeff1435978'
         'SKIP')