desktop/knights/PKGBUILD

36 lines
811 B
Bash
Raw Normal View History

2011-01-04 09:47:05 +08:00
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichav@gmail.com>
2011-01-04 09:47:05 +08:00
pkgname=knights
_pkgname=Knights
2012-05-01 18:53:58 +08:00
pkgver=2.4.2
2011-01-04 09:47:05 +08:00
pkgrel=1
pkgdesc="Chess board with XBoard protocol support."
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/Knights?content=122046"
license=('GPL2')
2012-01-21 21:40:40 +08:00
depends=('kdegames-common' 'gnuchess')
2011-01-04 09:47:05 +08:00
makedepends=('automoc4' 'cmake' 'docbook-xsl')
2012-03-07 19:00:46 +08:00
categories=('games')
2011-01-04 09:47:05 +08:00
changelog=ChangeLog
source=("http://dl.dropbox.com/u/2888238/$_pkgname/$pkgname-$pkgver.tar.bz2")
2012-05-01 18:53:58 +08:00
md5sums=('8f79d984361803391c3bbfaf9d407ff5')
2011-01-04 09:47:05 +08:00
build()
{
2011-01-04 09:47:05 +08:00
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
2011-11-13 01:00:15 +08:00
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
..
2011-01-04 09:47:05 +08:00
make
}
package()
{
2011-01-04 09:47:05 +08:00
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}