PKGBUILDs/core/tar/PKGBUILD

22 lines
540 B
Bash
Raw Normal View History

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=tar
pkgver=1.22
pkgrel=2
pkgdesc="Utility used to store, backup, and transport files"
arch=(arm)
license=('GPL3')
url="http://www.gnu.org/software/tar/tar.html"
depends=('glibc' 'bash')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('07fa517027f426bb80f5f5ff91b63585')
build() {
cd ${srcdir}/tar-$pkgver
./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin || return 1
make || return 1
make DESTDIR=${pkgdir} install
}