summaryrefslogtreecommitdiff
path: root/extra/kdiff3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdiff3/PKGBUILD')
-rw-r--r--extra/kdiff3/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/kdiff3/PKGBUILD b/extra/kdiff3/PKGBUILD
index ba375e623..1c5bd164e 100644
--- a/extra/kdiff3/PKGBUILD
+++ b/extra/kdiff3/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 166597 2012-09-12 20:12:20Z eric $
+# $Id: PKGBUILD 168298 2012-10-08 05:04:03Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=kdiff3
pkgver=0.9.97
-pkgrel=1
+pkgrel=2
pkgdesc="A KDE file comparator/merge tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://kdiff3.sourceforge.net/"
@@ -12,11 +12,14 @@ depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'kdebase-lib' 'docbook-xml')
optdepends=('kdebase-lib: for the plugin')
install=kdiff3.install
-source=(http://downloads.sourceforge.net/sourceforge/kdiff3/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('1f2828c4b287b905bac64992b46a3e9231319547')
+source=(http://downloads.sourceforge.net/sourceforge/kdiff3/${pkgname}-${pkgver}.tar.gz
+ kdiff3-relative-path.patch)
+sha1sums=('1f2828c4b287b905bac64992b46a3e9231319547'
+ 'b5359dcec2ebb8221a232ecc2ea9982b290172e5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p2 -i "${srcdir}/kdiff3-relative-path.patch"
mkdir release
cd release
cmake .. -DCMAKE_INSTALL_PREFIX=/usr