updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / kding / PKGBUILD
blobe4db83a5942e5413ff17794bbb3646daca169540
1 # Contributor: tyr0 <thomas.hoernes@gmx.at>
2 # Contributor: Nicolas Quienot <niQo @ aur>
3 pkgname=kding
4 pkgver=0.6
5 pkgrel=1
6 pkgdesc="KDing is a KDE port of Ding, a dictionary lookup program."
7 url="http://www.rexi.org/software/kding/"
8 license=('GPL')
9 depends=('kdelibs')
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') 
15 build() {
16   #cd $startdir/src/$pkgname-$pkgver
17   #cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
18   cd ${srcdir}
19   mkdir build
20   cd build
21   cmake ../${pkgname}-${pkgver} \
22     -DCMAKE_BUILD_TYPE=Release \
23     -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
24     -DCMAKE_INSTALL_PREFIX=/usr
25   make || return 1
26   make DESTDIR=${pkgdir} install || return 1
27