Merge branch 'master' of gitorious.org:chakra-packages/games

This commit is contained in:
Neophytos 2012-06-17 16:52:31 +00:00
commit 93387f5146
3 changed files with 56 additions and 6 deletions

50
dustrac/PKGBUILD Normal file
View File

@ -0,0 +1,50 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio)
pkgname=dustrac
pkgver=0.2.1
pkgrel=1
pkgdesc="Dust Racing (Dustrac) is a tile-based, 2D racing game."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/dustrac/"
screenshot="http://sourceforge.net/projects/dustrac/screenshots/325655"
license=('GPL3')
depends=(qt)
makedepends=(cmake)
source=(http://downloads.sourceforge.net/project/$pkgname/src/$pkgname-$pkgver.tar.gz)
md5sums=('4eade7f5eab15395062a6488941b46e0')
build() {
cd $srcdir/$pkgname-$pkgver
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
.
make
}
package() {
cd $srcdir/$pkgname-$pkgver
# Manual installation.
mkdir -p $pkgdir/usr/share/$pkgname
cp -R data dustrac editor $pkgdir/usr/share/$pkgname
# Executables:
mkdir -p $pkgdir/usr/bin
# Game.
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname
echo "./$pkgname" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname
# Editor.
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname-editor
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname-editor
echo "./editor" >> $pkgdir/usr/bin/$pkgname-editor
chmod +x $pkgdir/usr/bin/$pkgname-editor
}

View File

@ -4,18 +4,18 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=lipsofsuna
pkgver=0.5.0
pkgrel=3
pkgver=0.6.0
pkgrel=1
pkgdesc="Tongue-in-cheek dungeon crawl game that takes place in the chaotic dungeons of Suna."
arch=('i686' 'x86_64')
url="http://lipsofsuna.org/"
license=('LGPL3' 'CCPL:by-sa' 'CCPL:by' 'custom:CC0')
depends=('bullet' 'enet' 'flac' 'glew' 'inotify-tools' 'libogg' 'libvorbis' 'lua' 'openal' 'sdl' 'sdl_ttf' 'sqlite3')
depends=('bullet' 'enet' 'flac' 'glew' 'inotify-tools' 'libogg' 'libvorbis' 'lua' 'ogre' 'openal' 'sdl' 'sdl_ttf' 'sqlite3')
makedepends=('python')
categories=('games')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('eb85d36cdb9735a0e0aa584f45fd6f56')
md5sums=('d41996b2eaa5aafba41c13dd268a9c00')
build() {
cd $srcdir/$pkgname-$pkgver

View File

@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=openttd
pkgver=1.2.0
pkgver=1.2.1
pkgrel=1
pkgdesc="An engine for running Transport Tycoon Deluxe or alternative data files"
arch=('i686' 'x86_64')
@ -16,7 +16,7 @@ conflicts=('openttd-dev' 'openttd-svn')
changelog=ChangeLog
categories=('games')
source=("http://binaries.openttd.org/releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
md5sums=('7f5181fdd5119336ccbe08f47eab78c1')
md5sums=('66b54e0293594aab90085db113cc2dd3')
build() {
cd $srcdir/$pkgname-$pkgver