desktop/kaya/PKGBUILD
2015-04-05 14:10:01 +00:00

31 lines
776 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio)
pkgname=kaya
pkgver=0.4
pkgrel=3
pkgdesc="Extensible board game suite containing games such as Chess and Shogi."
arch=('i686' 'x86_64')
url="http://pcapriotti.github.com/kaya/index.html"
license=('GPL2')
depends=('kdebindings-ruby' 'kdelibs>=4' 'ruby' 'ruby-builder')
makedepends=('automoc4' 'cmake')
categories=('games')
source=(http://cloud.github.com/downloads/pcapriotti/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f4a8624b77072c98c66e63aad45b9998')
options=('debug')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}