PKGBUILDs/community/libpar2/PKGBUILD

31 lines
825 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Jaroslav Lichtblau <tu@dragonlord.cz>
# Contributor: Paul Bredbury <brebs@sent.com>
# Contributor: Matt McDonald <metzen@gmail.com>
pkgname=libpar2
pkgver=0.2
pkgrel=3
pkgdesc="Parity checking library,"
arch=('i686' 'x86_64')
url="http://parchive.sourceforge.net/"
license=('GPL')
depends=('libsigc++2.0')
makedepends=('autoconf' 'automake' 'pkgconfig')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/parchive/$pkgname-$pkgver.tar.gz)
md5sums=('94c6df4e38efe08056ecde2a04e0be91')
build() {
cd ${srcdir}/$pkgname-$pkgver
autoreconf -fi || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
#Docs
install -d ${pkgdir}/usr/share/doc/$pkgname
install -m644 -t ${pkgdir}/usr/share/doc/$pkgname/ AUTHORS PORTING README ROADMAP || return 1
}