Commit 04bc0c35 authored by Daniele's avatar Daniele

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

parents 54aeb211 8754a8b2
......@@ -5,8 +5,8 @@
pkgbase=0ad
pkgname=($pkgbase $pkgbase-debug $pkgbase-data)
pkgver=alpha_9
_pkgver=r11339-alpha
pkgver=alpha_10
_pkgver=r11863-alpha
pkgrel=1
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
screenshot=http://www.wildfiregames.com/0ad/images/news_images/dynamic-borders.jpg
......@@ -18,13 +18,13 @@ categories=('games')
changelog=ChangeLog
source=(http://downloads.sourceforge.net/project/zero-ad/releases/$pkgbase-$_pkgver-unix-build.tar.xz
http://downloads.sourceforge.net/project/zero-ad/releases/$pkgbase-$_pkgver-unix-data.tar.xz)
md5sums=('6db1e62215654269516f5eb1eec371f1'
'da65e2eda05f054c595d1921bcdbda1e')
md5sums=('f42a2e18515cbcd48b99f0ea3796b3a4'
'a0cc5004e243f8aa5d50f1cf5c36159e')
build() {
cd $srcdir/$pkgbase-$_pkgver/build/workspaces
# NOTE: These sed commands are not likely to be changed between releases, like most patches.
# NOTE: These sed commands are *not* likely to be changed between releases, like most patches.
sed \
-e 's/unix_names = { "boost_filesystem-mt", "boost_system-mt" },/unix_names = { "boost_filesystem", "boost_system" },/g' \
-e 's/unix_names = { "boost_signals-mt" },/unix_names = { "boost_signals" },/g' \
......
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Stephen McIntosh (arch_is_awesome) <stephenmac7[at]gmail[dot]com>
pkgname=assaultcube
pkgver=1.1.0.4
pkgrel=1
pkgdesc='A realistic team oriented multiplayer FPS based on the Cube engine'
arch=('i686' 'x86_64')
url='http://assault.cubers.net/'
license=('ZLIB' 'custom')
depends=('sdl' 'sdl_mixer' 'sdl_image' 'openal' 'zlib' 'gcc-libs' 'libgl' 'desktop-file-utils')
makedepends=('mesa')
source=("http://downloads.sourceforge.net/actiongame/AssaultCube_v${pkgver}.tar.bz2"
"http://downloads.sourceforge.net/actiongame/AssaultCube_v${pkgver}_source.tar.bz2"
'assaultcube'
'assaultcube-server'
'assaultcube.desktop'
'assaultcube.png')
md5sums=('a5eb79eaf564c5b4de1ffad0883e45e8'
'603b97a4262fb59ea86d483730b712e9'
'd658ad3ee476bfe92afa5b5a04a7b4f5'
'553e2c3b38c4d13e5d77c23efd51a6a6'
'a37dfbe8263f4ef8fe41120196194eae'
'f688c59ecee2ebc5c589720aa1480765')
install=assaultcube.install
build() {
cd ${pkgver}/source
# We'll use official binaries for cheat protection or some stuff.
# Upstream is strange.
#make
}
package() {
#cd ${pkgver}/source/src
#install -Dm755 ac_client ${pkgdir}/usr/bin/ac_client
#install -Dm755 ac_server ${pkgdir}/usr/bin/ac_server
cd ${srcdir}/${pkgver}
mkdir -p ${pkgdir}/usr/share/assaultcube/packages
mkdir -p ${pkgdir}/usr/bin
if [[ $CARCH == "x86_64" ]]; then
cp bin_unix/linux_64_client ${pkgdir}/usr/bin/ac_client
cp bin_unix/linux_64_server ${pkgdir}/usr/bin/ac_server
else
cp bin_unix/linux_client ${pkgdir}/usr/bin/ac_client
cp bin_unix/linux_server ${pkgdir}/usr/bin/ac_server
fi
cp -rf config packages docs mods ${pkgdir}/usr/share/assaultcube
install -Dm644 ${srcdir}/assaultcube.png ${pkgdir}/usr/share/pixmaps/assaultcube.png
install -Dm644 ${srcdir}/assaultcube.desktop ${pkgdir}/usr/share/applications/assaultcube.desktop
install -Dm644 docs/package_copyrights.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm755 ${srcdir}/assaultcube ${pkgdir}/usr/bin/assaultcube
install -Dm755 ${srcdir}/assaultcube-server ${pkgdir}/usr/bin/assaultcube-server
}
#!/bin/bash
cd /usr/share/assaultcube
ac_client "--home=${HOME}/.assaultcube" "--init=${HOME}/.assaultcube/config/init.cfg" "$@"
#!/bin/bash
cd /usr/share/assaultcube
ac_server "$@"
[Desktop Entry]
Encoding=UTF-8
Exec=assaultcube
Icon=assaultcube
Type=Application
Terminal=false
MultipleArgs=false
Name=AssaultCube
GenericName=Realistic Multiplayer FPS
MimeType=text/html
StartupNotify=false
Categories=Game;ActionGame;
post_install() {
update-desktop-database -q
update-mime-database usr/share/mime &> /dev/null
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
......@@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=glfw
pkgver=2.7.3
pkgver=2.7.5
pkgrel=1
pkgdesc="A free, open source, portable framework for OpenGL application development."
arch=('i686' 'x86_64')
......@@ -12,14 +12,14 @@ url="http://glfw.sourceforge.net/"
license=('ZLIB')
depends=('mesa' 'xorg-server')
source=(http://sunet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 )
md5sums=('f0e40049cc3ef30cb145047a7631ab3f')
md5sums=('b9ef11d08b6283b1b4a274fcf995fd79')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir -p $pkgdir/usr/lib $pkgdir/usr/include/GL
make x11
CXXFLAGS="" \
make VERBOSE=1 x11
}
package() {
......
......@@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=hummstrumm
pkgver=0.4
pkgver=0.5
pkgrel=1
pkgdesc="A 3D adventure game in which two players set out to stop the evil Dr. Geoff from taking over the world."
arch=('i686' 'x86_64')
......@@ -15,12 +15,14 @@ depends=(freetype2 ftgl libjpeg libpng libtheora libvorbis libxrandr mesa openal
makedepends=(cmake doxygen)
categories=('games')
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('e23dfce97df7d9f51a0e5d96dad5b6ca')
md5sums=('ed5fa8b029072b904066d21535efeb94')
build() {
cd $srcdir/$pkgname-$pkgver
CXXFLAGS="" \
cmake \
-G "Unix Makefiles"
-G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr
}
package() {
......
......@@ -5,7 +5,7 @@
pkgname=pink-pony
pkgver=1.2.1
pkgrel=1
pkgrel=2
pkgdesc="Tron-like multiplayer racing game with ponies."
arch=(i686 x86_64)
url="http://code.google.com/p/pink-pony/"
......
......@@ -8,12 +8,12 @@ _pkgbase=Shiboken
pkgname=("${pkgbase}" "${pkgbase}-generator")
pkgver=1.1.1
_pyver=2.7
pkgrel=1
pkgrel=2
pkgdesc="Support library for Python bindings."
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=("python>=${_pyver}" 'qt>=4.7' 'openssl')
depends=("python2" 'qt>=4.7' 'openssl')
makedepends=('cmake' 'automoc4' 'generatorrunner')
source=("http://www.pyside.org/files/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('fa451b6c4f3e06cce283a84550a96fd2')
......
......@@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=wesnoth
pkgver=1.10.2
pkgver=1.10.3
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world."
arch=('i686' 'x86_64')
......@@ -16,7 +16,7 @@ makedepends=('boost' 'cmake')
conflicts=('wesnoth-dev' 'wesnoth-svn')
categories=('games')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('61f93437ba13a27a048e5ee2ee63736a')
md5sums=('b25354c71d58f82c2c60cc12c6f09c36')
build() {
cd $srcdir/$pkgname-$pkgver
......
......@@ -5,20 +5,30 @@
pkgname=xmoto
pkgver=0.5.9
pkgrel=1
pkgrel=2
pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
arch=('i686' 'x86_64')
url="http://xmoto.tuxfamily.org"
license=('GPL')
depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode=0.11.1' 'curl'
depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl'
'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'libxdg-basedir')
categories=('games')
source=("http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz")
md5sums=('d8d6b7a405139530650b8a9ae2ea6df3')
source=("http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz"
"$pkgname-$pkgver-libpng.patch::https://projects.archlinux.org/svntogit/community.git/plain/trunk/$pkgname-$pkgver-libpng15.patch?h=packages/$pkgname")
md5sums=('d8d6b7a405139530650b8a9ae2ea6df3'
'454af72fa4daba55aa43a08bb1a30714')
build() {
cd $srcdir/$pkgname-$pkgver
# Patches
patch -Np1 -i "${srcdir}/$pkgname-$pkgver-libpng.patch"
sed \
-e '/#include <vector>/ a\
#include <unistd.h>' \
-i src/helpers/System.h
./configure \
LDFLAGS="-L/usr/lib" \
--prefix=/usr \
......
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