blob: f4784ad591198f5edb8ca733b40b266795c25369 (
plain) (
blame)
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
|
pkgname=tar
pkgver=1.30
pkgrel=2
pkgdesc='Utility used to store, backup, and transport files'
arch=('x86_64')
url='https://www.gnu.org/software/tar/'
license=('GPL3')
groups=('base')
depends=('libiconv', 'gzip', 'xz')
options=('!emptydirs')
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz")
md5sums=('2d01c6cd1387be98f57a0ec4e6e35826')
build() {
cd $pkgname-$pkgver
./configure --prefix=$BUILD_PREFIX \
--libexecdir=$BUILD_PREFIX/lib/tar \
--with-gzip=gzip
make
}
check() {
cd $pkgname-$pkgver
# fails under OS X...
#make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
fix_rpath
}
# vim:set ts=2 sw=2 et:
|