updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / kpar2kde4 / PKGBUILD
blob803c593cd14123839bdfd21f0ca6c664fd7f66fd
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=kpar2kde4
4 pkgver=0.4.5
5 pkgrel=2
6 pkgdesc="PAR2 verification and repair program for KDE4"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/kpar2kde4/"
9 license=('GPL3')
10 depends=('kdebase-runtime' 'libpar2' 'libsigc++2.0')
11 makedepends=('cmake' 'automoc4')
12 source=("http://kpar2kde4.googlecode.com/files/kpar2-${pkgver}.tar.gz")
13 md5sums=('edfa8ebb8da3a9388f6f8fb9a17135d5')
15 build() {
16   cd ${srcdir}
17   mkdir build
18   cd build
19   cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
20     -DCMAKE_BUILD_TYPE=Release
21   make || return 1
22   make DESTDIR=${pkgdir} install