# $Id: PKGBUILD 30849 2009-03-22 07:22:15Z eric $ # Maintainer: Eric Belanger # Contributor: Eric Belanger pkgname=kdiff3 pkgver=0.9.95 pkgrel=1 pkgdesc="A KDE file comparator/merge tool" arch=('i686' 'x86_64') url="http://kdiff3.sourceforge.net/" license=('GPL') depends=('kdelibs') makedepends=('cmake' 'automoc4') source=(http://downloads.sourceforge.net/sourceforge/kdiff3/${pkgname}-${pkgver}.tar.gz) md5sums=('652a98bf79ba762a8a646d4a0fddb323') sha1sums=('1fb27e8b42463ea23ad0169e20819352c1c476b7') build() { cd ${srcdir}/${pkgname}-${pkgver} mkdir release cd release cmake .. -DCMAKE_INSTALL_PREFIX=/usr || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 }