1 # Maintainer: nqn1976 @ gmail.com
6 pkgdesc="Chess board for KDE with XBoard protocol support"
8 url="http://kde-apps.org/content/show.php/Knights?content=122046"
10 depends=('kdegames-libkdegames')
11 optdepends=('gnuchess: for playing against the computer')
12 makedepends=('cmake' 'automoc4')
13 replaces=('kchess' 'knights-kde4')
14 conflicts=('knights-kde4')
15 install=${pkgname}.install
16 source=("http://dl.dropbox.com/u/2888238/Knights/${pkgname}-${pkgver}.tar.bz2")
17 md5sums=('934554f2ec61f85918270c8c5fdbf989')
20 cd ${srcdir}/${pkgname}-${pkgver}
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
28 cd ${srcdir}/${pkgname}-${pkgver}/build
29 make DESTDIR="${pkgdir}" install