OpenGOO added.

parent 3afc6417
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Maintainer: Adrin Chaves Fernndez (Gallaecio) <adriyetichaves@gmail.com>
pkgbase=0ad
pkgname=($pkgbase $pkgbase-debug $pkgbase-data)
......
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Zie Evolution <zie.evolution@googlemail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=box2d
pkgver=2.2.1
pkgrel=1
pkgdesc="2D rigid body simulation library for games"
url="http://www.box2d.org/"
license=('zlib')
arch=('i686' 'x86_64')
#depends=('freeglut')
makedepends=('cmake')
optdepends=()
source=(http://box2d.googlecode.com/files/Box2D_v${pkgver}.zip)
md5sums=('9e9d32a34fb5554c47f0f9cade0fa611')
build() {
cd ${srcdir}/Box2D_v${pkgver}
msg "Starting build"
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake .. \
-DBOX2D_INSTALL=ON \
-DBOX2D_BUILD_SHARED=ON \
-DBOX2D_BUILD_STATIC=ON \
-DBOX2D_BUILD_EXAMPLES=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/Box2D_v${pkgver}/build
make DESTDIR=${pkgdir} install
mkdir -p ${pkgdir}/usr/share/doc/box2d/
cp -r ${srcdir}/Box2D_v${pkgver}/Documentation/* ${pkgdir}/usr/share/doc/box2d/
find ${pkgdir}/usr/share/doc/box2d/ -type f | xargs chmod 644
find ${pkgdir}/usr/share/doc/box2d/ -type d | xargs chmod 755
install -Dm644 ${srcdir}/Box2D_v${pkgver}/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
}
\ No newline at end of file
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=opengoo
_pkgname=OpenGOO
_developer=Mandarancio
pkgver=20111231
pkgrel=1
pkgdesc="Clone of World of GOO™"
arch=('i686' 'x86_64')
url="http://qt-apps.org/content/show.php/OpenGOO?content=147716"
screenshot="http://qt-apps.org/CONTENT/content-pre1/147716-1.png"
license=('GPL3')
depends=('box2d' 'qt')
source=($pkgname-$pkgver.tar.gz::https://github.com/$_developer/$_pkgname/tarball/master)
md5sums=('4b6d758fcff4429cd31dc78404c2bd08')
build() {
cd $srcdir/$_developer-$_pkgname*
qmake
make
}
package() {
cd $srcdir/$_developer-$_pkgname*
# Game.
install -Dm755 $_pkgname $pkgdir/usr/share/$pkgname/$_pkgname
install -Dm644 l01.level $pkgdir/usr/share/$pkgname/l01.level
install -Dm644 menu.index $pkgdir/usr/share/$pkgname/menu.index
# Execution script.
mkdir -p $pkgdir/usr/bin
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
}
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