desktop/kdiff3/PKGBUILD
2014-09-30 16:43:38 +00:00

28 lines
662 B
Bash

# Apps packages for Chakra
pkgname=kdiff3
pkgver=0.9.98
pkgrel=1
pkgdesc="A KDE file comparator/merge tool"
arch=('x86_64')
url="http://kdiff3.sourceforge.net/"
license=('GPL')
depends=('kde-runtime')
makedepends=('cmake' 'automoc4' 'kde-baseapps' 'docbook-xml' 'docbook-xsl')
install=kdiff3.install
source=(http://downloads.sourceforge.net/sourceforge/kdiff3/${pkgname}-${pkgver}.tar.gz)
sha1sums=('1390b4ca9c58316de49cb0aabb433f14ebf2dc3f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}