mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-14 08:49:04 +08:00
35 lines
880 B
Bash
35 lines
880 B
Bash
|
#
|
||
|
# Games Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# Maintainer: Adrián Chaves Fernández (Gallaecio)
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=kaya
|
||
|
pkgver=0.4
|
||
|
pkgrel=1
|
||
|
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')
|
||
|
source=(http://cloud.github.com/downloads/pcapriotti/$pkgname/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('f4a8624b77072c98c66e63aad45b9998')
|
||
|
|
||
|
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
|
||
|
}
|