mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
36 lines
825 B
Bash
36 lines
825 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichav@gmail.com>
|
|
|
|
pkgname=knights
|
|
_pkgname=Knights
|
|
pkgver=2.5.0
|
|
pkgrel=5
|
|
pkgdesc="Chess board with XBoard protocol support."
|
|
arch=('i686' 'x86_64')
|
|
url="http://kde-apps.org/content/show.php/Knights?content=122046"
|
|
license=('GPL2')
|
|
depends=('kdegames-libkdegames' 'gnuchess' 'openal')
|
|
makedepends=('automoc4' 'cmake' 'docbook-xsl')
|
|
categories=('games')
|
|
changelog=ChangeLog
|
|
source=("http://dl.dropbox.com/u/2888238/$_pkgname/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('58237998aeee8b6414f6e6f92d070395')
|
|
|
|
build()
|
|
{
|
|
cd $srcdir/$pkgname-$pkgver
|
|
mkdir build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
..
|
|
make
|
|
}
|
|
|
|
package()
|
|
{
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|