desktop/kaya/PKGBUILD

31 lines
776 B
Bash
Raw Normal View History

# Maintainer: Adrián Chaves Fernández (Gallaecio)
pkgname=kaya
pkgver=0.4
2015-04-05 22:10:01 +08:00
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')
2012-03-07 19:00:46 +08:00
categories=('games')
source=(http://cloud.github.com/downloads/pcapriotti/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f4a8624b77072c98c66e63aad45b9998')
2015-04-05 22:10:01 +08:00
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
}