desktop/knights/PKGBUILD

35 lines
790 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-01-21 09:10:55 +08:00
pkgver=2.4.1
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:38:39 +08:00
depends=('kdegames-common','gnuchess')
2011-01-04 09:47:05 +08:00
makedepends=('automoc4' 'cmake' 'docbook-xsl')
changelog=ChangeLog
source=("http://dl.dropbox.com/u/2888238/$_pkgname/$pkgname-$pkgver.tar.bz2")
2012-01-21 09:10:55 +08:00
md5sums=('934554f2ec61f85918270c8c5fdbf989')
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
}