PKGBUILDs/community/libtar/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
949 B
Bash

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer : Biru Ionut <ionut@archlinux.ro>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=libtar
pkgver=1.2.11
pkgrel=1
pkgdesc="C library for manipulating POSIX tar files"
arch=('i686' 'x86_64')
url="http://www.feep.net/libtar/"
license=('BSD')
depends=('zlib')
source=(ftp://ftp.feep.net/pub/software/$pkgname/$pkgname-$pkgver.tar.gz \
libtar-$pkgver.patch)
md5sums=('604238e8734ce6e25347a58c4f1a1d7e' 'baef7da841c186e1830566296859c35b')
sha1sums=('9611f23024b0e89aad1cfea301122186b3c160f8' '100c37378faea118c6664cd8958caa91f34633d0')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i ../libtar-$pkgver.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
}