Commit 67334794 authored by chaves's avatar chaves
Browse files

Added 'kaya', along with it's dependency 'ruby-builder' which was imported from Arch Linux's AUR.

parent 964a8909
#
# 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
}
The MIT License
Copyright © 2004 Jim Weirich (jim@weirichhouse.org)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
\ No newline at end of file
#
# 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=ruby-builder
_pkgname=builder
pkgver=2.1.2
pkgrel=1
pkgdesc="A simple Ruby library to create XML markup and data structures."
arch=('any')
url="http://rubyforge.org/projects/builder/"
license=('MIT')
depends=('ruby')
source=(http://files.rubyforge.vm.bytemark.co.uk/$_pkgname/$_pkgname-$pkgver.gem
COPYING)
md5sums=('e96a525d9e0b42a2e2d5e77cbd02eb72'
'0104f56a052f3a18d4a97b55cc443dee')
build() {
cd $srcdir
}
package() {
cd $srcdir
local _gemdir=$(ruby -rubygems -e 'puts Gem.default_dir')
gem install \
--ignore-dependencies -i $pkgdir$_gemdir \
$_pkgname-$pkgver.gem
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment