core/tar/PKGBUILD

32 lines
690 B
Bash
Raw Normal View History

2010-03-13 23:25:19 +08:00
pkgname=tar
2016-05-26 16:28:30 +08:00
pkgver=1.29
2014-09-27 12:12:32 +08:00
pkgrel=1
pkgdesc='Utility used to store, backup, and transport files'
2016-05-26 16:28:30 +08:00
arch=('x86_64')
2010-04-04 22:20:41 +08:00
url="http://www.gnu.org/software/tar/tar.html"
2010-03-13 23:25:19 +08:00
license=('GPL3')
groups=('base')
2014-09-27 12:12:32 +08:00
depends=('glibc' 'acl' 'attr')
2010-04-04 22:20:41 +08:00
options=('!emptydirs')
2010-03-13 23:25:19 +08:00
install=tar.install
2016-05-26 16:28:30 +08:00
validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
2014-09-27 12:12:32 +08:00
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
2016-05-26 16:28:30 +08:00
md5sums=('a1802fec550baaeecff6c381629653ef'
2014-09-27 12:12:32 +08:00
'SKIP')
2010-03-13 23:25:19 +08:00
build() {
2014-09-27 12:12:32 +08:00
cd $pkgname-$pkgver
./configure --prefix=/usr --libexecdir=/usr/lib/tar
make
}
2014-09-27 12:12:32 +08:00
check() {
cd $pkgname-$pkgver
make check
2010-04-04 22:20:41 +08:00
}
2014-09-27 12:12:32 +08:00
2010-04-04 22:20:41 +08:00
package() {
2014-09-27 12:12:32 +08:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
2010-03-13 23:25:19 +08:00
}