updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gpar2 / PKGBUILD
blob148f4bff2e89c039f288c8923f8f69b6b988636b
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' 'desktop-file-utils')
13 install=gpar2.install
14 makedepends=('pkgconfig>=0.9')
15 source=(http://downloads.sourceforge.net/parchive/$pkgname-$pkgver.tar.gz 'gpar2-0.3.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