summaryrefslogtreecommitdiff
path: root/extra/kdiff3/PKGBUILD
blob: feb20a0f286ad59911a7aa6d662b03eefa0e6f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 136960 2011-09-03 21:15:57Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=kdiff3
pkgver=0.9.96
pkgrel=1
pkgdesc="A KDE file comparator/merge tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://kdiff3.sourceforge.net/"
license=('GPL')
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)
md5sums=('46b96befddf3448a3cb673f018c6f6f9')
sha1sums=('d7efdacdfd7ea3c7ec9f7dee32aba5962c1709a5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  mkdir release
  cd release
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/release"
  make DESTDIR="${pkgdir}" install
}