updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / knights / PKGBUILD
blobf6ec53e0d37cfaa07eb4460e7ee89dfcb0d5b9ed
1 # Maintainer: nqn1976 @ gmail.com
3 pkgname=knights
4 pkgver=2.4.1
5 pkgrel=1
6 pkgdesc="Chess board for KDE with XBoard protocol support"
7 arch=('i686' 'x86_64')
8 url="http://kde-apps.org/content/show.php/Knights?content=122046"
9 license=('GPL')
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')
19 build() {
20   cd ${srcdir}/${pkgname}-${pkgver}
21   mkdir build
22   cd build
23   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
24   make
27 package() {
28   cd ${srcdir}/${pkgname}-${pkgver}/build
29   make DESTDIR="${pkgdir}" install