updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / gpar2 / PKGBUILD
blobf53e075d0ef7292aac8b3a27d8712b737060b906
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Matt McDonald <metzen@gmail.com>
3 # Contributor: Stefan Wilkens <stefanwilkens@gmail.com>
5 pkgname=gpar2
6 pkgver=0.3
7 pkgrel=5
8 pkgdesc="A gtkmm client for verifying and repairing PAR archives"
9 arch=('i686' 'x86_64')
10 url="http://parchive.sourceforge.net/"
11 license=('GPL')
12 depends=('libpar2' 'gtkmm' 'glibc')
13 makedepends=('pkgconfig>=0.9')
14 source=(http://downloads.sourceforge.net/parchive/$pkgname-$pkgver.tar.gz
15         $pkgname-$pkgver.diff)
16 md5sums=('dcfaecd8cbc005fb8e38c0bf5ba8ca04'
17          'a37f3f2e795e01dbfdb5ff9279c7d4ed')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   patch -Np1 -i ../$pkgname-$pkgver.diff
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir" install