1 # Contributor: tyr0 <thomas.hoernes@gmx.at>
2 # Contributor: Nicolas Quienot <niQo @ aur>
6 pkgdesc="KDing is a KDE port of Ding, a dictionary lookup program."
7 url="http://www.rexi.org/software/kding/"
10 arch=('i686' 'x86_64')
11 source=(http://www.rexi.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
12 md5sums=('539e180da484aa29b3a581046b01b7fe')
13 optdepends=('agrep: for advanced search')
16 #cd $startdir/src/$pkgname-$pkgver
17 #cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
21 cmake ../${pkgname}-${pkgver} \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
24 -DCMAKE_INSTALL_PREFIX=/usr
26 make DESTDIR=${pkgdir} install || return 1