Merged changes in the merge request 1.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2012-08-11 08:29:07 +00:00
commit b15b24ccab
87 changed files with 987 additions and 1095 deletions

View File

@ -5,9 +5,9 @@
pkgbase=0ad
pkgname=($pkgbase $pkgbase-debug $pkgbase-data)
pkgver=alpha_9
_pkgver=r11339-alpha
pkgrel=1
pkgver=alpha_10
_pkgver=r11863-alpha
pkgrel=2
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
screenshot=http://www.wildfiregames.com/0ad/images/news_images/dynamic-borders.jpg
arch=('i686' 'x86_64')
@ -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' \
@ -133,6 +133,7 @@ package_0ad-debug() {
}
package_0ad-data() {
depends=()
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game (data files)"
arch=('any')
license=('GPL2' 'CCPL-by-sa') # binary/data/ licenses.

View File

@ -5,33 +5,34 @@
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=allegro
pkgver=5.0.6
pkgver=5.0.7
pkgrel=1
pkgdesc="Portable library mainly aimed at video game and multimedia programming."
arch=('i686' 'x86_64')
url="http://alleg.sourceforge.net/"
license=('ZLIB')
depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng')
# With the exception of CMake, all are there to enable plugins support (all plugins but DUMB).
makedepends=('cmake' 'flac' 'freetype2' 'libjpeg' 'libogg' 'libpng' 'libvorbis' 'openal' 'physfs' 'zlib')
source=(http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz)
md5sums=('c4b4384ef03ac5f6388f378f3eeff243')
depends=('alsa-lib' 'flac' 'freetype2' 'glibc' 'jack' 'libgl' 'libjpeg' 'libogg' 'libpng' 'libvorbis' 'libx11' 'libxau' 'libxcb' 'libxcursor' 'libxdmcp' 'libxext' 'libxfixes' 'libxpm' 'libxrender' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng' 'openal' 'physfs' 'zlib')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz")
md5sums=('e4ed66093edf45497f45411488dd82e6')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
cd "${srcdir}"
mkdir -p build && cd build
cmake "${srcdir}/${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
install -m755 -d $pkgdir/usr/share/licenses/$pkgname
install -m644 ../LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/${pkgname}-${pkgver}/LICENSE.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}"
}

View File

@ -6,7 +6,7 @@
pkgname=ark-rpg
_pkgname=ark
pkgver=0.1
pkgrel=2
pkgrel=3
pkgdesc="Single player three dimensional role playing game set in a fantasy world."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/ark-rpg/"

60
assaultcube/PKGBUILD Normal file
View File

@ -0,0 +1,60 @@
#
# 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
}

4
assaultcube/assaultcube Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /usr/share/assaultcube
ac_client "--home=${HOME}/.assaultcube" "--init=${HOME}/.assaultcube/config/init.cfg" "$@"

View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /usr/share/assaultcube
ac_server "$@"

View File

@ -0,0 +1,12 @@
[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;

View File

@ -0,0 +1,13 @@
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
}

BIN
assaultcube/assaultcube.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -5,28 +5,21 @@
pkgname=cegui
_pkgname=CEGUI
pkgver=0.7.6
pkgver=0.7.7
pkgrel=1
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
license=("MIT")
depends=('devil' 'expat' 'freeglut' 'freetype2' 'glew' 'libxml2' 'lua' 'pcre' 'silly')
makedepends=('boost' 'doxygen' 'graphviz' 'irrlicht' 'ogre' 'python2' 'toluapp')
optdepends=("python2: python bindings"
"ogre: ogre module"
"irrlicht: irrlicht module")
depends=('boost-libs' 'devil' 'expat' 'freeglut' 'freetype2' 'glew' 'irrlicht' 'libxml2' 'lua' 'ogre' 'pcre' 'python2' 'silly' 'toluapp')
makedepends=('boost' 'doxygen' 'graphviz')
options=(!libtool)
source=("http://downloads.sourceforge.net/crayzedsgui/${_pkgname}-${pkgver}.tar.gz"
"cegui-0.7.6-python-detection.patch::http://projects.archlinux.org/svntogit/community.git/plain/trunk/cegui-0.7.6-python-detection.patch?h=packages/cegui")
md5sums=('7ddb5145dc94fb7daf9aea1d30a6ffa3'
'4600775f78b7349621a8a314ade8c902')
source=("http://downloads.sourceforge.net/crayzedsgui/${_pkgname}-${pkgver}.tar.gz")
md5sums=('8b83577f86eaa1581765dd155c7c8f24')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -Np0 < "${srcdir}/cegui-0.7.6-python-detection.patch"
./bootstrap
./configure \
--enable-null-renderer \

View File

@ -3,11 +3,8 @@
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=chocolate-doom
pkgver=1.6.0
pkgver=1.7.0
pkgrel=1
pkgdesc="A Doom port reproducing the behavior of the original DOS version."
arch=('i686' 'x86_64')
@ -22,7 +19,7 @@ source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
chocolate-setup.png \
chocolate-doom.desktop \
chocolate-setup.desktop)
md5sums=('b210e115dda6ea88bfb6c4fe11ade101'
md5sums=('c0a8b240e5c1db9fc1d4772ed6669fda'
'7202cf0d89b6e339996028eaa08087b5'
'dbd12210652965e96a8127e22fe4a4cb'
'3ba5256126c0c5a0492c53d4c8beb45d'

31
chromium-bsu/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Inkane <neoinkaneglade@aol.com>
# Contributor: Umidjon Almasov <u.almasov@gmail.com>
# Contributer: Allan McRae <allan@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=chromium-bsu
pkgver=0.9.15
pkgrel=3
pkgdesc="A fast paced top scrolling shooter"
arch=('i686' 'x86_64')
url="http://chromium-bsu.sourceforge.net/"
screenshot="http://chromium-bsu.sourceforge.net/images/chrom-scr-112400a.jpg"
license=('custom:artistic')
depends=('freeglut' 'sdl' 'openal' 'freealut' 'ftgl' 'fontconfig' 'sdl_image')
# we use the patched version from debian to avoid glpng
source=("http://ftp.de.debian.org/debian/pool/main/c/chromium-bsu/chromium-bsu_$pkgver.orig.tar.gz")
md5sums=('d57137a1ac2292363b35192724c7e3be')
build(){
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 COPYING $pkgdir/usr/share/licenses/chromium-bsu/LICENSE
}

View File

@ -10,20 +10,26 @@ pkgname=crypto++
_pkgname=cryptopp
pkgver=5.6.1
_pkgver=561
pkgrel=2
pkgrel=3
pkgdesc="C++ class library of cryptographic schemes."
arch=('i686' 'x86_64')
url="http://www.cryptopp.com"
license=('custom')
makedepends=('unzip')
source=("${url}/${_pkgname}${_pkgver}.zip"
'libcrypto++.pc')
'libcrypto++.pc'
'fedora-cryptopp-5.6.1-gcc-4.7.0.patch')
md5sums=('96cbeba0907562b077e26bcffb483828'
'2337c6edbc552d9142cae8e0854715e7')
'2337c6edbc552d9142cae8e0854715e7'
'2175eb9fa4efec0d5362e9fb8ff575d3')
build() {
cd "${srcdir}"
# Patch for GCC 4.7 compiling issues - remove this when the
# fix is released upstream.
patch -Np1 -i "${srcdir}/fedora-cryptopp-5.6.1-gcc-4.7.0.patch"
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
make -f GNUmakefile

View File

@ -0,0 +1,97 @@
--- cryptopp/algebra.cpp 2010-08-06 18:44:32.000000000 +0300
+++ cryptopp/algebra.cpp 2012-01-05 03:32:21.337004210 +0200
@@ -58,7 +58,7 @@
Element g[3]={b, a};
unsigned int i0=0, i1=1, i2=2;
- while (!Equal(g[i1], this->Identity()))
+ while (!this->Equal(g[i1], this->Identity()))
{
g[i2] = Mod(g[i0], g[i1]);
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;
--- cryptopp/eccrypto.cpp 2010-08-06 18:44:28.000000000 +0300
+++ cryptopp/eccrypto.cpp 2012-01-05 04:04:08.055499801 +0200
@@ -435,7 +435,7 @@
StringSource ssG(param.g, true, new HexDecoder);
Element G;
bool result = GetCurve().DecodePoint(G, ssG, (size_t)ssG.MaxRetrievable());
- SetSubgroupGenerator(G);
+ this->SetSubgroupGenerator(G);
assert(result);
StringSource ssN(param.n, true, new HexDecoder);
@@ -591,7 +591,7 @@
if (level >= 2 && pass)
{
const Integer &q = GetSubgroupOrder();
- Element gq = gpc ? gpc->Exponentiate(this->GetGroupPrecomputation(), q) : ExponentiateElement(g, q);
+ Element gq = gpc ? gpc->Exponentiate(this->GetGroupPrecomputation(), q) : this->ExponentiateElement(g, q);
pass = pass && IsIdentity(gq);
}
return pass;
@@ -629,7 +629,7 @@
typename EC::Point P;
if (!this->GetGroupParameters().GetCurve().DecodePoint(P, bt, size))
BERDecodeError();
- SetPublicElement(P);
+ this->SetPublicElement(P);
}
template <class EC>
--- cryptopp/eccrypto.h 2010-08-06 18:46:24.000000000 +0300
+++ cryptopp/eccrypto.h 2012-01-05 04:04:54.672022639 +0200
@@ -43,7 +43,7 @@
void Initialize(const EllipticCurve &ec, const Point &G, const Integer &n, const Integer &k = Integer::Zero())
{
this->m_groupPrecomputation.SetCurve(ec);
- SetSubgroupGenerator(G);
+ this->SetSubgroupGenerator(G);
m_n = n;
m_k = k;
}
@@ -145,9 +145,9 @@
typedef typename EC::Point Element;
void Initialize(const DL_GroupParameters_EC<EC> &params, const Element &Q)
- {this->AccessGroupParameters() = params; SetPublicElement(Q);}
+ {this->AccessGroupParameters() = params; this->SetPublicElement(Q);}
void Initialize(const EC &ec, const Element &G, const Integer &n, const Element &Q)
- {this->AccessGroupParameters().Initialize(ec, G, n); SetPublicElement(Q);}
+ {this->AccessGroupParameters().Initialize(ec, G, n); this->SetPublicElement(Q);}
// X509PublicKey
void BERDecodePublicKey(BufferedTransformation &bt, bool parametersPresent, size_t size);
@@ -166,9 +166,9 @@
void Initialize(const EC &ec, const Element &G, const Integer &n, const Integer &x)
{this->AccessGroupParameters().Initialize(ec, G, n); this->SetPrivateExponent(x);}
void Initialize(RandomNumberGenerator &rng, const DL_GroupParameters_EC<EC> &params)
- {GenerateRandom(rng, params);}
+ {this->GenerateRandom(rng, params);}
void Initialize(RandomNumberGenerator &rng, const EC &ec, const Element &G, const Integer &n)
- {GenerateRandom(rng, DL_GroupParameters_EC<EC>(ec, G, n));}
+ {this->GenerateRandom(rng, DL_GroupParameters_EC<EC>(ec, G, n));}
// PKCS8PrivateKey
void BERDecodePrivateKey(BufferedTransformation &bt, bool parametersPresent, size_t size);
--- cryptopp/panama.cpp 2010-08-09 14:22:42.000000000 +0300
+++ cryptopp/panama.cpp 2012-01-05 04:10:36.356525599 +0200
@@ -422,7 +422,7 @@
{
this->ThrowIfInvalidTruncatedSize(size);
- PadLastBlock(this->BLOCKSIZE, 0x01);
+ this->PadLastBlock(this->BLOCKSIZE, 0x01);
HashEndianCorrectedBlock(this->m_data);
--- cryptopp/secblock.h 2012-01-03 23:15:48.287022036 +0200
+++ cryptopp/secblock.h 2012-01-05 03:22:06.097299323 +0200
@@ -89,7 +89,7 @@
pointer allocate(size_type n, const void * = NULL)
{
- CheckSize(n);
+ this->CheckSize(n);
if (n == 0)
return NULL;

32
cubosphere/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
#
# Games Packages for the Chakra Project
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: Bernd Pruenster <bernd.pruenster@gmail.com>
pkgname=cubosphere
pkgver=0.2
_pkgver=02a
pkgrel=1
pkgdesc="3d puzzle similar to Kula World/Roll Away"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/cubosphere/"
license=('GPL')
depends=('libjpeg' 'lua' 'sdl_ttf' 'sdl_mixer' 'glew')
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-beta${_pkgver}_linux_src.tar
"$pkgname.desktop")
md5sums=('1f40915f926875bdece86f4b56389238'
'7f7afe94baa3f22f96792b7ff18bd7ac')
screenshot=('http://sourceforge.net/projects/cubosphere/screenshots/273631')
build() {
cd $srcdir/${pkgname}-beta${_pkgver}/
sed -i -e 's/5.1//g' -e '/^PREFIX/s/\/local//' Makefile
}
package() {
cd $srcdir/${pkgname}-beta${_pkgver}/
make install DESTDIR=$pkgdir
chmod -R +r $pkgdir/*
install -D -m644 $srcdir/cubosphere.desktop $pkgdir/usr/share/applications/cubosphere.desktop
}

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Cubosphere
GenericName=Logic Game
Comment=3d puzzle
Exec=cubosphere
Categories=Game;LogicGame;

View File

@ -4,8 +4,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=dccnitghtmare
pkgver=0.8
pkgrel=2
pkgver=0.9
pkgrel=1
pkgdesc="A sarcastic 3D single player RPG set in a post-apocalyptical world."
arch=('i686' 'x86_64')
url="http://dnt.dnteam.org/"
@ -14,8 +14,8 @@ depends=('cal3d' 'mesa' 'libgl' 'libvorbis' 'openal' 'sdl' 'sdl_image' 'sdl_ttf'
categories=('games')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
"http://aur.archlinux.org/packages/dc/dccnitghtmare/dccnitghtmare.tar.gz")
md5sums=('fd015add7670b99ef1e0761544e90d40')
md5sums=('c7a1a8580482fa0e45e6da07bf92d1b7'
'487350a03a0cfb26cbdf22cb1329e0bd')
build() {
cd $srcdir/$pkgname
@ -35,5 +35,4 @@ package() {
# Desktop Integration.
install -Dm644 $srcdir/$pkgname/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}
md5sums=('ee17b8cce3e2b295857fc249eb21ce4a'
'487350a03a0cfb26cbdf22cb1329e0bd')

View File

@ -6,8 +6,8 @@
pkgname=devil
pkgver=1.7.8
pkgrel=8
pkgdesc="Library for reading several different image formats."
pkgrel=9
pkgdesc="Library for reading several different image formats"
arch=('i686' 'x86_64')
url="http://openil.sourceforge.net/"
depends=('allegro>=4.4.0.1' 'freeglut' 'jasper>=1.900.1-4' 'lcms>=1.18-3' 'libmng>=1.0.10-3' 'libpng>=1.4.0' 'openexr' 'sdl')

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) <adriyetichaves@gmail.com>
pkgname=dustrac
pkgver=0.5.0
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=('4447f0b523dee358d6dad6fff237e68a')
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 $pkgname-game $pkgname-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-game" >> $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 "./$pkgname-editor" >> $pkgdir/usr/bin/$pkgname-editor
chmod +x $pkgdir/usr/bin/$pkgname-editor
}

View File

@ -4,8 +4,9 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=ember
pkgver=0.6.2
pkgrel=4
pkgver=0.6.3
_mediaver=$pkgver
pkgrel=2
pkgdesc="Ember is a 3D client using the OGRE 3d library, valid for WorldForge server."
arch=('i686' 'x86_64')
url="http://wiki.worldforge.org/wiki/Ember"
@ -13,9 +14,9 @@ license=('GPL3')
depends=('atlas_cpp' 'boost' 'cegui' 'curl' 'eris' 'freealut' 'libsigc++2.0' 'libwfut' 'mercator' 'ogre' 'openal' 'sdl' 'skstream' 'toluapp' 'varconf' 'wfmath')
categories=('games')
source=("http://downloads.sourceforge.net/worldforge/$pkgname-$pkgver.tar.bz2"
"http://downloads.sourceforge.net/worldforge/$pkgname-media-$pkgver.tar.bz2")
md5sums=('e3f854897fa73f54403e111f45031d3f'
'd2acb2b2f1876876f4a0332be2280c41')
"http://downloads.sourceforge.net/worldforge/$pkgname-media-$_mediaver.tar.bz2")
md5sums=('4b241ffc78a5d081e409c23fdb2db4ea'
'2e2577b5faca0951dc40e443574ee548')
build() {
cd $srcdir/$pkgbase-$pkgver
@ -23,7 +24,6 @@ build() {
./configure \
--enable-cegui-toluapp \
--prefix=/usr \
--sysconfdir=/etc \
--with-toluaxx
make
}
@ -35,5 +35,5 @@ package() {
# Data.
mkdir -p $pkgdir/usr/share/$pkgname/media/
cp -R $srcdir/media-$pkgver/media/* $pkgdir/usr/share/$pkgname/media/
cp -R $srcdir/$pkgname-media-$pkgver/media/* $pkgdir/usr/share/$pkgname/media/
}

View File

@ -4,8 +4,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=enet
pkgver=1.3.3
pkgrel=2
pkgver=1.3.5
pkgrel=1
pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP.'
arch=('i686' 'x86_64')
url='http://enet.bespin.org/'
@ -18,7 +18,6 @@ md5sums=('4b0b69377fd4511e82e5f0921a942e59')
build() {
cd $pkgname-$pkgver
# CFLAGS="-fPIC" \
./configure \
--prefix=/usr
make
@ -32,3 +31,4 @@ package() {
# License:
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('c75d0be31b6f23330839a68ee66e00f9')

View File

@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=eris
pkgver=1.3.19
pkgver=1.3.20
pkgrel=1
pkgdesc="Provides a common system to deal with the back-end Atlas tasks."
arch=(i686 x86_64)
@ -12,7 +12,7 @@ url="http://worldforge.org/dev/eng/libraries/eris"
license=('LGPL')
depends=('atlas_cpp' 'libsigc++2.0' 'mercator' 'skstream')
source=("http://sunet.dl.sourceforge.net/sourceforge/worldforge/$pkgname-$pkgver.tar.bz2")
md5sums=('145b500f3182b0bf1f3eb5c9b63e2c87')
md5sums=('fc761ae8f7164ee417afe52a609c71e2')
build() {
cd $srcdir/$pkgname-$pkgver

View File

@ -5,8 +5,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=fife
pkgver=0.3.3r2
pkgrel=3
pkgver=0.3.3r3
pkgrel=1
pkgdesc="Flexible Isometric Free Engine is a cross platform game creation framework"
arch=(i686 x86_64)
url="http://fifengine.net/"
@ -15,24 +15,18 @@ depends=('boost-libs' 'guichan' 'libvorbis' 'libxcursor' 'mesa' 'tinyxml'
'openal' 'python2' 'sdl_image' 'sdl_ttf')
makedepends=('scons' 'boost' 'swig' 'zlib')
conflicts=("$pkgname-svn")
source=("http://downloads.sourceforge.net/project/$pkgname/active/src/$pkgname-$pkgver.tar.gz"
"fife-resolution.diff::http://fife.trac.cvsdude.com/engine/changeset/3800?format=diff&new=3800")
md5sums=('96b34b28b18e56142cbac9cfb89a6693'
'0575f1c35483b8f043f75def6679276d')
source=("http://downloads.sourceforge.net/project/$pkgname/active/src/${pkgname}_$pkgver.tar.gz")
md5sums=('ee39612009e124263dc79d1f0fa7ca7c')
build() {
cd $srcdir/$pkgname-$pkgver
cd $srcdir/${pkgname}_$pkgver
# Strip ldconfig.
sed -i "/LD_RUN_PATH/d" build/linux2-config.py
# Patch for resolution issue.
# See: http://wiki.unknown-horizons.org/w/FAQ#I_am_using_the_1024x600_resolution_and_the_game_crashes_while_opening_the_settings_dialogue
patch -uN engine/python/fife/extensions/fife_settings.py $srcdir/fife-resolution.diff
}
package() {
cd $srcdir/$pkgname-$pkgver
cd $srcdir/${pkgname}_$pkgver
export PYTHON="python2"
export CXXFLAGS="-DBOOST_FILESYSTEM_VERSION=2"

View File

@ -4,9 +4,9 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=flare
pkgver=0.15.1
pkgver=0.16
_developer=clintbellanger
_code=e0debc9
_code=b3344302fd
pkgrel=1
pkgdesc="Action roleplaying game from an isometric perspective."
arch=('i686' 'x86_64')
@ -17,10 +17,10 @@ replaces=('osare')
categories=('games')
changelog=ChangeLog
source=($pkgname-$pkgver.tar.gz::https://github.com/$_developer/$pkgname/tarball/v$pkgver)
md5sums=('bb8eff66aa999fc7fd520c6c3772451f')
md5sums=('c902e2149cb640cceb2e7d41ebdd6bcb')
build() {
cd $srcdir/$_developer-$pkgname-$_code
cd $srcdir/$_developer-$pkgname-*
# Some CMake changes.
sed -i -e "s#share/games#share#" -e "s#/games#/bin#" CMakeLists.txt
@ -37,20 +37,10 @@ build() {
}
package() {
cd $srcdir/$_developer-$pkgname-$_code/build
cd $srcdir/$_developer-$pkgname-*
cd build
make DESTDIR=$pkgdir install
# Move executable (only way for it to work).
# mv $pkgdir/usr/bin/$pkgname $pkgdir/usr/share/$pkgname/$pkgname
# Execution script.
# cat > $pkgdir/usr/bin/$pkgname << EOF
# #!/bin/sh
# cd /usr/share/$pkgname/
# ./$pkgname
# EOF
# chmod -R +x $pkgdir/usr/bin/$pkgname
# Documentation.
install -Dm644 $srcdir/$_developer-$pkgname-$_code/README $pkgdir/usr/share/doc/$pkgname/readme.txt
install -Dm644 ../README $pkgdir/usr/share/doc/$pkgname/readme.txt
}

View File

@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=freeciv
pkgver=2.3.1
pkgver=2.3.2
pkgrel=1
pkgdesc="Multiplayer clone of Civilization™."
arch=('i686' 'x86_64')
@ -14,7 +14,7 @@ depends=('bzip2' 'freetype2' 'readline' 'sdl_image')
changelog=ChangeLog
categories=('games')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('efce9b2cd8b7a36017f1ebce59236dcb')
md5sums=('eee143d8fea4cf3c772a560fee066600')
build() {
cd $srcdir/$pkgname-$pkgver

View File

@ -5,29 +5,46 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=frozen-bubble
pkgver=2.2.0
pkgrel=3
_pkgver=2.2.1-beta1
pkgver=2.2.1b1
pkgrel=2
pkgdesc="A game in which you throw colorful bubbles and build groups to destroy the bubbles"
arch=('i686' 'x86_64')
url="http://www.frozen-bubble.org"
license=('GPL2')
depends=('sdl_perl' 'sdl_mixer' 'perl-locale-gettext' 'sdl_pango')
depends=('sdl_perl' 'perl-ipc-system-simple' 'perl-compress-bzip2' 'perl-file-which')
makedepends=('perl-file-slurp' 'perl-locale-maketext-lexicon')
options=('!emptydirs')
categories=('games')
source=(http://www.frozen-bubble.org/data/${pkgname}-${pkgver}.tar.bz2 \
frozen-bubble.desktop)
md5sums=('f7987201470d6755ed309762d348e0dd' '3e0755836580e374e0911653f8cd33e2')
source=("http://www.frozen-bubble.org/data/${pkgname}-${_pkgver}.tar.bz2"
'frozen-bubble.desktop')
md5sums=('825cc23ed806838b9d86de9982a5687a'
'3e0755836580e374e0911653f8cd33e2')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make OPTIMIZE="${CFLAGS}" \
CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
PREFIX=/usr || return 1
make DESTDIR=${pkgdir} PREFIX=/usr install || return 1
install -D -m644 icons/frozen-bubble-icon-64x64.png ${pkgdir}/usr/share/pixmaps/frozen-bubble.png || return 1
install -D -m644 ${srcdir}/frozen-bubble.desktop ${pkgdir}/usr/share/applications/frozen-bubble.desktop || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
cd "${srcdir}/${pkgname}-${_pkgver}"
unset CFLAGS
perl Build.PL installdirs=vendor
perl Build
}
package() {
cd "${srcdir}/${pkgname}-${_pkgver}"
perl Build install destdir="${pkgdir}" || return 1
install -D -m644 share/icons/frozen-bubble-icon-64x64.png "${pkgdir}/usr/share/pixmaps/frozen-bubble.png" || return 1
install -D -m644 "${srcdir}/frozen-bubble.desktop" "${pkgdir}/usr/share/applications/frozen-bubble.desktop" || return 1
find "${pkgdir}" -name '.packlist' -delete
find "${pkgdir}" -name '*.pod' -delete
# Move the binaries in the correct location...
for binary in 'fb-server' 'frozen-bubble' 'frozen-bubble-editor'; do
mv "${pkgdir}/usr/bin/vendor_perl/${binary}" "${pkgdir}/usr/bin/${binary}"
done
# ...and remove the wrong directory.
rm -rf "${pkgdir}/usr/bin/vendor_perl"
}
# vim:set ts=2 sw=2 et:

View File

@ -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() {

View File

@ -4,7 +4,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=hummstrumm
pkgver=0.4
pkgver=0.6.1
_pkgver=0.6
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,15 +16,17 @@ 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=('e6d548885bea4457d478664ae7bf523e')
build() {
cd $srcdir/$pkgname-$pkgver
cd $srcdir/$pkgname-$_pkgver
CXXFLAGS="" \
cmake \
-G "Unix Makefiles"
-G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr
}
package() {
cd $srcdir/$pkgname-$pkgver
cd $srcdir/$pkgname-$_pkgver
make DESTDIR=$pkgdir install
}

View File

@ -5,7 +5,7 @@
pkgname=knights
_pkgname=Knights
pkgver=2.4.1
pkgver=2.4.2
pkgrel=1
pkgdesc="Chess board with XBoard protocol support."
arch=('i686' 'x86_64')
@ -16,7 +16,7 @@ makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('games')
changelog=ChangeLog
source=("http://dl.dropbox.com/u/2888238/$_pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('934554f2ec61f85918270c8c5fdbf989')
md5sums=('8f79d984361803391c3bbfaf9d407ff5')
build()
{

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=2
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

@ -1,49 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=mercator-git
_pkgname=mercator
pkgver=20110603
pkgrel=1
pkgdesc="WorldForge procedural terrain library."
arch=('i686' 'x86_64')
url="http://worldforge.org/dev/eng/libraries/mercator"
license=('GPL')
depends=('wfmath')
provides=('mercator')
conflicts=('mercator')
_gitroot=git://github.com/worldforge/$_pkgname.git
_gitname=$_pkgname
build() {
cd $srcdir
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf $srcdir/$_gitname-build
git clone $srcdir/$_gitname $srcdir/$_gitname-build
cd $srcdir/$_gitname-build
./autogen.sh
./configure \
--prefix=/usr
make
}
package () {
cd $srcdir/$_gitname-build
make DESTDIR=${pkgdir} install
}

29
mercator/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=mercator
pkgver=0.3.1
pkgrel=1
pkgdesc="WorldForge procedural terrain library."
arch=('i686' 'x86_64')
url="http://worldforge.org/dev/eng/libraries/mercator"
license=('GPL')
depends=('wfmath')
source=("http://downloads.sourceforge.net/project/worldforge/Mercator%20%28terrain%20lib%29/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('0cc6d3a263a4c6ce0383e90f4d4cdba6')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr
make
}
package () {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}

View File

@ -4,18 +4,19 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=openttd
pkgver=1.1.4
pkgver=1.2.1
pkgrel=1
pkgdesc="An engine for running Transport Tycoon Deluxe or alternative data files"
arch=('i686' 'x86_64')
url='http://www.openttd.org'
license=('GPL2')
depends=('desktop-file-utils' 'fontconfig' 'hicolor-icon-theme' 'icu' 'libpng' 'sdl')
optdepends=('openttd-opengfx: graphic set.' 'openttd-openmsx: music set.' 'openttd-opensfx: sound set.')
conflicts=('openttd-dev' 'openttd-svn')
changelog=ChangeLog
categories=('games')
source=("http://binaries.openttd.org/releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
md5sums=('d1c48ddf616bd0d269c4cd35ef8a8a39')
md5sums=('66b54e0293594aab90085db113cc2dd3')
build() {
cd $srcdir/$pkgname-$pkgver

44
paintown/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
pkgname=paintown
pkgver=3.5.0
pkgrel=1
pkgdesc="An open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles."
arch=('i686' 'x86_64')
url="http://paintown.sourceforge.net/"
license=('GPL')
depends=('python2' 'freetype2' 'allegro')
makedepends=('cmake')
#install=paintown.install
source=(http://downloads.sourceforge.net/sourceforge/paintown/$pkgname-$pkgver.tar.gz
paintown.png
paintown.desktop)
md5sums=('58de3c1cd8aea7e3117ec97f5e169a23'
'ed547f1377212ea079cf9b0a1ad2d587'
'4144c695ad0bc4621e96ef9760f33b19')
build() {
cd "$srcdir/$pkgname-$pkgver"
# fix python2 header
for file in $(find . -name '*.py' -print); do
sed -i "s#/usr/bin/python#/usr/bin/env python2#" $file
done
# not needed as cmake is used instead of scons
# sed -i "s#python#python2#" Makefile
mkdir -p build
cd build
cmake .. || return 1
make -j2 || return 1
cp bin/paintown ..
cd ..
}
package() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p $pkgdir/usr/{bin,share/{paintown,pixmaps,applications,licenses/paintown}}
sh install.sh -d $pkgdir/usr/share/paintown -b $pkgdir/usr/bin
# correct the gnerated file to remove the wrong path (because $pkgdir/usr/bin is written in the file)
sed -i "s#$pkgdir##g" $pkgdir/usr/bin/paintown
install -m644 $srcdir/paintown.desktop $pkgdir/usr/share/applications/paintown.desktop
install -m644 $srcdir/paintown.png $pkgdir/usr/share/pixmaps/paintown.png
install -m644 LICENSE $pkgdir/usr/share/licenses/paintown/LICENSE
install -m644 LEGAL $pkgdir/usr/share/licenses/paintown/LEGAL
}

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Name=PainTown
Comment=Paintown is an open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles.
Exec=paintown
Icon=paintown.png
Terminal=false
Type=Application
Categories=Application;Game;

BIN
paintown/paintown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,4 @@
2011-03-28 Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
* 20110130-1 :
Moved from the [games] repository (it depends on GTK).

20
performous-songs/PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=performous-songs
pkgver=20110130
pkgrel=1
pkgdesc="A collection of free songs for performous game."
url="http://performous.org/songs.html"
arch=('any')
license=('CCPL:by-sa')
changelog=ChangeLog
source=('http://sourceforge.net/projects/performous/files/ultrastar-songs-libre/3/ultrastar-songs-libre-3.zip')
md5sums=('350226f3f971b45666b421e2e782273b')
package() {
install -d ${pkgdir}/usr/share/performous/songs
cp -r ${srcdir}/songs ${pkgdir}/usr/share/performous/songs
}

4
performous/ChangeLog Normal file
View File

@ -0,0 +1,4 @@
2011-03-28 Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
* 0.6.1-1 :
Moved from the [games] repository (it depends on GTK).

59
performous/PKGBUILD Normal file
View File

@ -0,0 +1,59 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=performous
_pkgname=Performous
pkgver=0.6.1
pkgrel=1
pkgdesc='A free game like Singstar™, Rockband™ or Stepmania™.'
arch=('i686' 'x86_64')
url="http://$pkgname.org/"
license=('GPL2' 'custom: Menu song: CC:BY-SA.')
depends=('boost' 'sdl' 'jack' 'imagemagick' 'ffmpeg' 'glew' 'libxml++' 'portaudio' 'portmidi'
'opencv' 'librsvg' 'libjpeg' 'libpng' 'cairo')
makedepends=('cmake' 'help2man')
optdepends=('performous-songs: some songs for Performous.')
changelog=ChangeLog
source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$_pkgname-$pkgver-Source.tar.bz2
boost-filesystem-v3.patch::https://projects.archlinux.org/svntogit/community.git/plain/trunk/boost-filesystem-v3.patch?h=packages/performous
"ffmpeg-0.8.patch::http://performous.git.sourceforge.net/git/gitweb.cgi?p=performous/performous;a=patch;h=18449f6e56451f68b980c8359a4d1dc06f82db1a"
png15.patch::https://projects.archlinux.org/svntogit/community.git/plain/trunk/png15.patch?h=packages/performous)
md5sums=('451a759de77984b5a699e91107fe52e2'
'b985ac469c3dd65d8e5bfae1435135fe'
'ff0ffa681dfaa09c4f42133a65309bf0'
'f622fa6d698d917c92a1a611a5870590')
build() {
cd $srcdir/$_pkgname-$pkgver-Source
# Fixes.
patch -Np1 -i ../boost-filesystem-v3.patch # Build against boost 1.46 and later, upstream (git) now support v3.
patch -Np1 -i ../ffmpeg-0.8.patch # Fix for FFMPEG 0.8.
patch -Np1 -i ../png15.patch # Fix for PNG 1.5.
sed -e "s|#include <glib/gconvert.h>|#include <glib.h>|" -i "game/unicode.cc" # Fix for glib.
mkdir build && cd build
# Fix config loading with libxml++:
export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$_pkgname-$pkgver-Source/build
make DESTDIR="$pkgdir" install
# Licensing information:
install -Dm644 $srcdir/$_pkgname-$pkgver-Source/docs/Authors.txt \
$pkgdir/usr/share/licenses/$pkgname/Authors.txt
install -Dm644 $srcdir/$_pkgname-$pkgver-Source/docs/License.txt \
$pkgdir/usr/share/licenses/$pkgname/License.txt
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-algorithm-diff
_pkgname=Algorithm-Diff
pkgver=1.1902
pkgrel=2
pkgdesc="Perl module to Compute 'intelligent' differences between two files / lists."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~tyemq/Algorithm-Diff/'
source=("http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/$_pkgname-$pkgver.tar.gz")
md5sums=('ff3e17ae485f8adfb8857b183991fbce')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,36 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-alien-sdl
_pkgname=Alien-SDL
pkgver=1.425
pkgrel=1
pkgdesc="Perl module to detect and get configuration settings from an installed SDL and related libraries."
license=('PerlArtistic' 'GPL')
arch=('i686' 'x86_64')
url='http://search.cpan.org/~froggs/Alien-SDL/'
options=('!emptydirs')
depends=('perl-capture-tiny' 'perl-file-sharedir' 'sdl=1.2.14')
makedepends=('perl-file-which' 'perl-text-patch')
source=("http://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/$_pkgname-$pkgver.tar.gz")
md5sums=('c6adaa35ea0779740950de36c8a8ffe2')
build() {
cd $srcdir/$_pkgname-$pkgver
perl Build.PL installdirs=vendor destdir=$pkgdir \
--with-sdl-config
perl Build
}
package() {
cd $srcdir/$_pkgname-$pkgver
perl Build install
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-archive-zip
_pkgname=Archive-Zip
pkgver=1.31_02
pkgrel=1
pkgdesc="Perl module to create, manipulate, read, and write Zip archive files."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~adamk/Archive-Zip/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('357725f70a98aa361598ac595af9599f')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-capture-tiny
_pkgname=Capture-Tiny
pkgver=0.10
pkgrel=1
pkgdesc="Perl module to capture anything sent to STDOUT or STDERR."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~dagolden/Capture-Tiny/'
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgname-$pkgver.tar.gz")
md5sums=('d38c6b83f690dfd35b503ccbfade7558')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-class-inspector
_pkgname=Class-Inspector
pkgver=1.25
pkgrel=1
pkgdesc="Perl module to get information about a class and its structure."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~adamk/Class-Inspector/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('5830bff10a0966993edd14435b8a579b')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,31 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-compress-bzip2
_realname=Compress-Bzip2
pkgver=2.09
pkgrel=1
pkgdesc="Interface to Bzip2 compression library"
arch=(i686 x86_64)
license=(GPL2)
depends=(perl bzip2)
url='http://search.cpan.org/dist/$_realname'
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY/$_realname-$pkgver.tar.gz")
md5sums=('1699fde3e86f2a036f135ae606d456bf')
build() {
cd "$srcdir/$_realname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-file-sharedir
_pkgname=File-ShareDir
pkgver=1.03
pkgrel=1
pkgdesc="Perl module to locate per-dist and per-module shared files."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-class-inspector')
url='http://search.cpan.org/~adamk/File-ShareDir/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('333a0903db23b9097adfbeb37b99d561')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,35 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-file-slurp
pkgver=9999.15
pkgrel=1
pkgdesc="Read/write/append files quickly"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/File-Slurp"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/U/UR/URI//File-Slurp-$pkgver.tar.gz")
md5sums=('5ee5e649bf3dd5d9c100000239092720')
build() {
cd $startdir/src/File-Slurp-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $startdir/src/File-Slurp-$pkgver
make install DESTDIR=$startdir/pkg
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-file-which
_pkgname=File-Which
pkgver=1.09
pkgrel=1
pkgdesc="Portable implementation of which."
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-class-inspector')
url='http://search.cpan.org/dist/File-Which/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('b9429edaad7f45caafa4d458afcfd8af')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-ipc-run3
_pkgname=IPC-Run3
pkgver=0.044
pkgrel=2
pkgdesc="Perl module to run a subprocess and redirect stdin, stdout, and/or stderr to files and perl data structures."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~rjbs/IPC-Run3/'
source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgname-$pkgver.tar.gz")
md5sums=('7df73a65d9efc7b9e7eb04075ff1fd8f')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,31 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-ipc-system-simple
_realname=IPC-System-Simple
pkgver=1.21
pkgrel=1
pkgdesc="Run commands simply, with detailed diagnostics"
arch=(any)
license=(PerlArtistic GPL)
depends=(perl)
url='http://search.cpan.org/dist/$_realname'
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/$_realname-$pkgver.tar.gz")
md5sums=('8215b62fe1b8447b99e17861e2255288')
build() {
cd $srcdir/$_realname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_realname-$pkgver
make DESTDIR="$pkgdir" install
}

View File

@ -1,34 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-locale-maketext-lexicon
pkgver=0.86
pkgrel=1
pkgdesc="Perl/CPAN Module Locale::Maketext::Lexicon : Use other catalog formats in Maketext"
arch=(any)
depends=(perl)
url="http://search.cpan.org/dist/Locale-Maketext-Extract"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-$pkgver.tar.gz")
md5sums=('c21d481b23f0848cdb92d1fb5aaf29ff')
build() {
cd $srcdir/Locale-Maketext-Lexicon-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/Locale-Maketext-Lexicon-$pkgver
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-probe-perl
_pkgname=Probe-Perl
pkgver=0.01
pkgrel=2
pkgdesc="Perl module to obtain information about the currently running perl interpreter."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~kwilliams/Probe-Perl/'
source=("http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/$_pkgname-$pkgver.tar.gz")
md5sums=('b6f613a7d07dde568a0d4b9570de47c3')
build() {
cd $srcdir/$_pkgname-$pkgver
perl Build.PL installdirs=vendor destdir="$pkgdir/"
perl Build
}
package() {
cd $srcdir/$_pkgname-$pkgver
perl Build install
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-test-script
_pkgname=Test-Script
pkgver=1.07
pkgrel=2
pkgdesc="Perl module to provide basic tests for most testing needed for scripts in the script paths."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-probe-perl' 'perl-ipc-run3')
url='http://search.cpan.org/~adamk/Test-Script/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('f6b5baa6403cd24dac7f023e0ea22384')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-text-diff
_pkgname=Text-Diff
pkgver=1.37
pkgrel=2
pkgdesc="Perl module to provide a basic set of services akin to the GNU diff utility."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-algorithm-diff')
url='http://search.cpan.org/~adamk/Text-Diff/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('52c1cba785ecfbbca242b57742173665')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -1,38 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-text-patch
_pkgname=Text-Patch
pkgver=1.8
pkgrel=2
pkgdesc="Perl module to combine source text with given diff (difference) data."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-text-diff')
url='http://search.cpan.org/~cade/Text-Patch/'
source=("http://search.cpan.org/CPAN/authors/id/C/CA/CADE/$_pkgname-$pkgver.tar.gz")
md5sums=('ad5e453d5ba3b48afd8163114d0fee1c')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}

View File

@ -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/"

View File

@ -5,7 +5,7 @@
pkgname=pokerth
_realname=PokerTH
pkgver=0.9.3
pkgver=0.9.5
pkgrel=1
pkgdesc="PokerTH is a Texas Holdem poker game written in C++/Qt."
arch=('i686' 'x86_64')
@ -15,23 +15,14 @@ makedepends=('boost')
categories=('games')
url="http://www.pokerth.net/"
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${_realname}-${pkgver}-src.tar.bz2")
md5sums=('09d173512f723441f288b2844e3c68cb')
md5sums=('4bdea98bfc142a825c64b77feb4667d0')
build() {
cd "${srcdir}/${_realname}-${pkgver}-src"
sed -i 's/QMAKE_CXXFLAGS += -std=gnu++0x/QMAKE_CXXFLAGS += -std=gnu++0x -DBOOST_FILESYSTEM_VERSION=2/' *.pro
sed -i '23 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
# fix g++: error: unrecognized option '-no_dead_strip_inits_and_terms'
sed \
-e 's/QMAKE_LFLAGS += -no_dead_strip_inits_and_terms//' \
-i zlib_compress.pro pokerth_game.pro pokerth_server.pro
# Chakra look & feel tweaks
sed -i -e "s~a.setStyle(new QPlastiqueStyle);~//~g" src/pokerth.cpp
sed -i -e "s~a.setStyleSheet(font1String +~a.setStyleSheet(~g" src/pokerth.cpp
# Fix missing include
sed -e '23 i #include <libircclient/libirc_rfcnumeric.h>' \
-i src/net/common/ircthread.cpp
qmake "${pkgname}.pro"
make
@ -48,3 +39,5 @@ package() {
install -D -m644 data/data-copyright.txt "${pkgdir}/usr/share/licenses/pokerth/data-copyright.txt"
rm -f "${pkgdir}/usr/share/pokerth/data/data-copyright.txt"
}
# vim:set ts=2 sw=2 et:

View File

@ -6,7 +6,7 @@
pkgname=pyside-tools
pkgver=0.2.13
_pyver=2.7
pkgrel=5
pkgrel=6
pkgdesc="UI Compiler (pyside-uic) plus Qt Resource Compiler (pyside-rcc4) for PySide."
arch=('i686' 'x86_64')
license=('LGPL')

View File

@ -4,9 +4,9 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=pyside
pkgver=1.1.0
_pkgver2="qt4.7+${pkgver}"
_pkgver3="qt4.7+${pkgver}"
pkgver=1.1.1
_pkgver2="qt4.8+${pkgver}"
_pkgver3="qt4.8+${pkgver}"
pkgrel=1
pkgdesc="Provides LGPL Qt bindings for Python and related tools for binding generation."
arch=('i686' 'x86_64')
@ -15,7 +15,7 @@ url="http://www.pyside.org"
depends=('shiboken' 'python' 'qt' 'phonon')
makedepends=('cmake' 'automoc4' 'shiboken-generator')
source=("http://www.pyside.org/files/${pkgname}-${_pkgver2}.tar.bz2")
md5sums=('233f0c6d2b3daf58cf88877d7f74557b')
md5sums=('0176d3746074afe47373d7302e1b4501')
build() {
cd "${srcdir}/${pkgname}-${_pkgver3}"

View File

@ -5,7 +5,7 @@
pkgname=redeclipse
pkgver=1.2
pkgrel=2
pkgrel=3
pkgdesc='A first-person shooter, built as a total conversion of Cube Engine 2.'
arch=(i686 x86_64)
url=http://redeclipse.net
@ -14,15 +14,21 @@ depends=(enet libgl mesa sdl sdl_image sdl_mixer zlib hicolor-icon-theme)
makedepends=('mesa' 'gzip' 'imagemagick')
categories=('games')
source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}_linux_bsd.tar.bz2
system-libs.diff)
system-libs.diff
no-x128-icon-since-old-imagemagick.diff
security-text-command-fix.patch)
md5sums=('e133361f79be01782bf0bbc4c5a01236'
'f34900e6c8247754800d8fba0600dfb7')
'f34900e6c8247754800d8fba0600dfb7'
'd6c0c52a0e217e21f8951426fe40db18'
'89253e190972021c9e89b75d91ee408b')
build() {
cd "$srcdir/$pkgname/src"
# Patches.
patch -uN Makefile $srcdir/system-libs.diff
patch -uN system-install.mk $srcdir/no-x128-icon-since-old-imagemagick.diff
patch -uN engine/textedit.h $srcdir/security-text-command-fix.patch
# Compilation.
make

View File

@ -0,0 +1,45 @@
--- system-install.mk.old 2012-04-17 00:58:07.088468000 +0200
+++ system-install.mk 2012-04-17 00:59:08.305449416 +0200
@@ -4,7 +4,6 @@
install/nix/redeclipse_x32.png \
install/nix/redeclipse_x48.png \
install/nix/redeclipse_x64.png \
- install/nix/redeclipse_x128.png
prefix=/usr/local
games=
@@ -28,9 +27,6 @@
install/nix/redeclipse_x64.png: redeclipse.ico
convert 'redeclipse.ico[2]' $@
-install/nix/redeclipse_x128.png: redeclipse.ico
- convert 'redeclipse.ico[3]' $@
-
icons: $(ICONS)
system-install-client: client
@@ -88,7 +84,6 @@
install -d $(icondir)/32x32/apps
install -d $(icondir)/48x48/apps
install -d $(icondir)/64x64/apps
- install -d $(icondir)/128x128/apps
sed -e 's,@LIBEXECDIR@,$(patsubst $(DESTDIR)%,%,$(libexecdir)),g' \
-e 's,@DATADIR@,$(patsubst $(DESTDIR)%,%,$(datadir)),g' \
-e 's,@DOCDIR@,$(patsubst $(DESTDIR)%,%,$(docdir)),g' \
@@ -101,8 +96,6 @@
$(icondir)/48x48/apps/$(redeclipse).png
install -m644 install/nix/redeclipse_x64.png \
$(icondir)/64x64/apps/$(redeclipse).png
- install -m644 install/nix/redeclipse_x128.png \
- $(icondir)/128x128/apps/$(redeclipse).png
system-install-cube2font: system-install-cube2font-docs
install -d $(bindir)
@@ -137,7 +130,6 @@
@rm -fv $(icondir)/32x32/apps/$(redeclipse).png
@rm -fv $(icondir)/48x48/apps/$(redeclipse).png
@rm -fv $(icondir)/64x64/apps/$(redeclipse).png
- @rm -fv $(icondir)/128x128/apps/$(redeclipse).png
system-uninstall: system-uninstall-client system-uninstall-server system-uninstall-data system-uninstall-docs system-uninstall-menus
-@rmdir -v $(libexecdir)/$(redeclipse)

View File

@ -0,0 +1,32 @@
Author: Lee "Eihrul" Salzman <lsalzman@gmail.com>
Date: Sun, 22 Jul 2012 21:22:55 +0000
Subject: text command fix
Description: File access security fix
Game maps can in cube2-engine games be transmitted either from server
to client or from client to client, which includes a config file
(mapname.cfg) which is in "cubescript" format, this makes it possible
for an attacker to send a malign script via a new map (which must be
chosen by admin on a server, or created in cooperative editing mode). A
script like this could trivially read/write to any files which the user
running the client has access to (it is executed when the client loads
the map).
.
This patch stops "textedit" commands being able to be run in map-run
scripts, thus disabling the ability to read/write to user files.
Origin: upstream, https://sourceforge.net/apps/trac/redeclipse/changeset/3764
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684143
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=846368
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/redeclipse/+bug/1034148
--- a/src/engine/textedit.h
+++ b/src/engine/textedit.h
@@ -690,7 +690,7 @@
#define TEXTCOMMAND(f, s, d, body) ICOMMAND(0, f, s, d,\
editor *top = currentfocus();\
- if(!top) return;\
+ if(!top || identflags&IDF_WORLD) return;\
body\
)

View File

@ -6,17 +6,17 @@
pkgbase=shiboken
_pkgbase=Shiboken
pkgname=("${pkgbase}" "${pkgbase}-generator")
pkgver=1.1.0
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=('9c9d696c8c426fb5abf28a6bd3759558')
md5sums=('fa451b6c4f3e06cce283a84550a96fd2')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"

32
sintel/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Moritz Kiefer <moritz.kiefer@gmail.com>
pkgname=sintel
pkgver=alpha_1.1
pkgrel=1
pkgdesc="Sintel The Game is a video game adaptation of the Blender Foundations 3rd open film Sintel"
arch=('i686' 'x86_64')
url="http://www.sintelgame.org"
screenshot="http://sintelgame.org/wp-content/uploads/screenshots/garway_docks.png"
license=('GPL2' 'CCPL-by-sa')
depends=('blender')
source=("http://download.sintelgame.org/sintel_the_game_${pkgver}.zip")
md5sums=('305538a7da4414a0b2cfcd1da5795de0')
package () {
cd "${srcdir}/sintel_the_game_alpha/sintelthegame"
# Install data files.
install -d ${pkgdir}/usr/share/${pkgname}
cp -R * ${pkgdir}/usr/share/${pkgname}
# Install an execution script.
mkdir -p $pkgdir/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "blenderplayer /usr/share/$pkgname/sintel_win/sintel_win.blend" >> $pkgdir/usr/bin/$pkgname
chmod 755 $pkgdir/usr/bin/$pkgname
}

View File

@ -6,7 +6,7 @@
pkgname=smc
pkgver=1.9
_musicver=5.0
pkgrel=10
pkgrel=11
pkgdesc="Secret Maryo Chronicles"
arch=('i686' 'x86_64')
url="http://www.secretmaryo.org/"

View File

@ -1,43 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=speed-dreams-data
_pkgname=speed-dreams
pkgver=1.4.0
_pkgver=1.4.0-r2307 # For managing files and directories
pkgrel=2
pkgdesc="A racing simulator with rich graphics and physics (data files)."
arch=('any')
url="http://speed-dreams.sourceforge.net/"
license=('GPL2')
depends=()
makedepends=('enet' 'freealut' 'freeglut' 'libpng' 'libxmu' 'libxrandr' 'libxrender' 'plib>=1.8.3' 'libjpeg' 'zlib')
source=("http://sourceforge.net/projects/${_pkgname}/files/${pkgver}/${_pkgname}-${_pkgver}-src.tar.bz2/download")
md5sums=('92c324c2c47a598dea9278d9a66c5b78')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}-src"
unset LDFLAGS MAKEFLAGS
./configure \
--prefix="/usr/share/${_pkgname}" \
--x-includes=/usr/include \
--x-libraries=/usr/lib
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}-src"
make DESTDIR="${pkgdir}" install datainstall
rm -r "${pkgdir}/usr/share/${_pkgname}/bin"
rm -r "${pkgdir}/usr/share/${_pkgname}/lib"
find "${pkgdir}" -type d -exec chmod 755 {} \;
}
# vim:set ts=2 sw=2 et:

View File

@ -1,48 +1,82 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=speed-dreams
pkgver=1.4.0
_pkgver=1.4.0-r2307
pkgrel=5
pkgdesc="A racing simulatir with rich graphics and physics."
pkgbase=speed-dreams
pkgname=('speed-dreams' 'speed-dreams-data')
pkgver=2.0.0
_pkgver=2.0.0-r4687
pkgrel=2
pkgdesc="A racing simulator with rich graphics and physics"
arch=('i686' 'x86_64')
url="http://speed-dreams.sourceforge.net/"
license=('GPL2')
depends=('enet' 'freealut' 'freeglut' 'libpng' 'libxi' 'libxmu' 'libxrandr'
'plib>=1.8.3' 'libjpeg' 'speed-dreams-data' 'zlib')
depends=('enet' 'freeglut' 'libgl' 'libjpeg' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'openal' 'plib' 'sdl' 'zlib')
makedepends=('mesa')
categories=('games')
source=("http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$_pkgver-src.tar.bz2/download")
md5sums=('92c324c2c47a598dea9278d9a66c5b78')
source=("http://downloads.sourceforge.net/project/$pkgbase/$pkgver/$pkgbase-src-base-$_pkgver.tar.xz"
"http://downloads.sourceforge.net/project/$pkgbase/$pkgver/$pkgbase-src-hq-cars-and-tracks-$_pkgver.tar.xz"
"http://downloads.sourceforge.net/project/$pkgbase/$pkgver/$pkgbase-src-more-hq-cars-and-tracks-$_pkgver.tar.xz"
"http://downloads.sourceforge.net/project/$pkgbase/$pkgver/$pkgbase-src-wip-cars-and-tracks-$_pkgver.tar.xz"
"http://downloads.sourceforge.net/project/$pkgbase/$pkgver/$pkgbase-src-unmaintained-$_pkgver.tar.xz")
md5sums=('a6842887fc289ed6057be2ba9d2afaa2'
'57cf5c475491294ce1fb249e2dc0273b'
'c8ab7ef068fa3fbe67d2b3246b30ea8a'
'edcc842291737dbb13a3083252bf51d4'
'8505c46aae6ce56a43353b8899d40ce4')
build() {
cd $srcdir/$pkgname-$pkgver-src
cd $srcdir
unset LDFLAGS MAKEFLAGS
./configure \
--prefix=/usr/share/$pkgname \
--x-includes=/usr/include \
--x-libraries=/usr/lib
mkdir -p build
cd build
cmake \
-D OPTION_OFFICIAL_ONLY:BOOL=ON \
-D CMAKE_INSTALL_PREFIX:STRING=/usr \
-D SD_LOCALDIR:STRING=~/.speed-dreams \
..
make
mkdir -p ../tmppkg
make DESTDIR=../tmppkg install
}
package() {
cd $srcdir/$pkgname-$pkgver-src
make DESTDIR=$pkgdir/ install datainstall
install -D -m644 icon.png $pkgdir/usr/share/pixmaps/$pkgname.png
package_speed-dreams() {
depends=(${depends[@]} speed-dreams-data)
cd $srcdir
# Copy game from the installation.
mkdir -p $pkgdir/usr
mv $srcdir/tmppkg/usr/games $pkgdir/usr/games
mv $srcdir/tmppkg/usr/include $pkgdir/usr/include
if [ -d "$srcdir/tmppkg/usr/lib64" ]; then
mv $srcdir/tmppkg/usr/lib64 $pkgdir/usr/lib64
else
mv $srcdir/tmppkg/usr/lib $pkgdir/usr/lib
fi
mkdir -p $pkgdir/usr/share
mv $srcdir/tmppkg/usr/share/man $pkgdir/usr/share/man
# Run Script.
mkdir -p $pkgdir/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /usr/share/$pkgname/bin" >> $pkgdir/usr/bin/$pkgname
echo "./$pkgname" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname
rm -r $pkgdir/usr/share/$pkgname/share
find $pkgdir/ -type d -exec chmod 755 {} \;
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgbase
echo "/usr/games/speed-dreams-2" >> $pkgdir/usr/bin/$pkgbase
chmod +x $pkgdir/usr/bin/$pkgbase
# Desktop Integration.
install -Dm644 $srcdir/data/data/icons/icon.png $pkgdir/usr/share/pixmaps/$pkgname.png
}
package_speed-dreams-data() {
depends=()
pkgdesc="$pkgdesk (data files)"
cd $srcdir
# Copy game from the installation.
mkdir -p $pkgdir/usr/share
mv $srcdir/tmppkg/usr/share/games $pkgdir/usr/share/games
}

View File

@ -5,7 +5,7 @@
pkgname=spring
_pkgname=springrts
pkgver=88.0
pkgver=89.0
pkgrel=1
pkgdesc='A 3D real-time-strategy game engine.'
arch=('i686' 'x86_64')
@ -15,7 +15,7 @@ depends=('boost' 'devil' 'freetype2' 'glew' 'icu' 'libvorbis' 'openal')
makedepends=('cmake' 'java-environment' 'lzma-utils' 'p7zip' 'python' 'zip')
optdepends=('java-runtime: java-based bots.')
source=("http://downloads.sourceforge.net/sourceforge/$_pkgname/${pkgname}_${pkgver}_src.tar.lzma")
md5sums=('151bf483f1c3b801b4cede6f02d79ea9')
md5sums=('36fc266e925bc3790a68bf1bc7ebb315')
build() {
bsdtar -xf ${pkgname}_${pkgver}_src.tar.lzma

View File

@ -6,7 +6,7 @@
pkgname=sumwars
pkgver=0.5.4
_pkgver=0-5-4
pkgrel=6
pkgrel=7
pkgdesc="Summoning Wars is a role-playing game, featuring both a single-player and a multiplayer mode for about 2 to 8 players."
arch=('i686' 'x86_64')
url="http://sumwars.org/"

View File

@ -6,7 +6,7 @@
pkgname=supertuxkart
_pkgname=SuperTuxKart
pkgver=0.7.3
pkgrel=2
pkgrel=3
pkgdesc="Kart racing game featuring Tux and friends."
url="http://supertuxkart.sourceforge.net/"
arch=('i686' 'x86_64')
@ -21,7 +21,7 @@ md5sums=('502664b2ec9ad5ab88b1882fef4c074d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
LDFLAGS="-lpng -ljpeg" \
LDFLAGS="-lpng -ljpeg -lpthread" \
LIBS="-lbz2" \
./configure \
--prefix=/usr \

View File

@ -1,73 +0,0 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgbase=t-engine4
_pkgbase=t-engine
pkgname=('t-engine4' 'tome')
pkgver=1.0.0_beta31
_pkgver=1.0.0beta31
pkgrel=1
arch=('i686' 'x86_64')
url="http://tome.te4.org/"
license=('GPL3')
depends=('lua' 'mesa' 'openal' 'sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf')
makedepends=('premake')
source=("http://te4.org/dl/$_pkgbase/$pkgbase-src-$_pkgver.tar.bz2")
md5sums=('d05d0e32cfe545456e38614ea110210e')
build() {
cd $srcdir/$pkgbase-src-$_pkgver
premake gmake
make
}
package_t-engine4() {
pkgdesc="Roguelike game engine operating in Lua and available for all major platforms."
depends=('lua' 'mesa' 'openal' 'sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf')
cd $srcdir/$pkgbase-src-$_pkgver
install -d $pkgdir/usr/share/$pkgbase
cp -r bootstrap/ game/ bin/Debug/t-engine \
$pkgdir/usr/share/$pkgbase
rm -R $pkgdir/usr/share/$pkgbase/game/modules/tome
# Execution script.
install -d $pkgdir/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /usr/share/$pkgbase" >> $pkgdir/usr/bin/$pkgname
echo "exec ./t-engine \$*" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname
# License.
install -d $pkgdir/usr/share/licenses/$pkgname
cp -r COPYING CREDITS \
$pkgdir/usr/share/licenses/$pkgname
}
package_tome() {
pkgdesc="Single-player, role-playing roguelike game set in the world of Eyal."
depends=('t-engine4')
cd $srcdir/$pkgbase-src-$_pkgver
install -d $pkgdir/usr/share/$pkgbase/game/modules
cp -r game/modules/tome \
$pkgdir/usr/share/$pkgbase/game/modules/
# Execution script.
install -d $pkgdir/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /usr/share/$pkgbase" >> $pkgdir/usr/bin/$pkgname
echo "exec ./t-engine \$*" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname
# License.
install -d $pkgdir/usr/share/licenses/$pkgname
cp -r COPYING CREDITS \
$pkgdir/usr/share/licenses/$pkgname
}

21
ufoai-data/PKGBUILD Normal file
View File

@ -0,0 +1,21 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=ufoai-data
pkgver=2.4
pkgrel=1
pkgdesc="In UFO: Alien Invasion you fight aliens trying to capture Earth (data files)"
arch=('any')
url="http://ufoai.ninex.info/"
license=('GPL2' 'CCPL-by-sa' 'custom:Other free licenses.')
source=(http://downloads.sourceforge.net/sourceforge/ufoai/ufoai-$pkgver-data.tar)
md5sums=('4f3f343754a4aae401582021901c4737')
package() {
install -d -m755 "$pkgdir"/usr/share/ufoai
cp -r "$srcdir"/base "$pkgdir"/usr/share/ufoai
}

52
ufoai/PKGBUILD Normal file
View File

@ -0,0 +1,52 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=ufoai
pkgver=2.4
pkgrel=1
pkgdesc="In UFO: Alien Invasion you fight aliens trying to capture Earth"
arch=('i686' 'x86_64')
url="http://ufoai.ninex.info/"
license=('GPL2')
depends=('libjpeg' 'libgl' 'libpng' 'curl' 'sdl_image' 'sdl_mixer' 'sdl_ttf' 'xvidcore' 'ufoai-data')
makedepends=('mesa')
source=(http://downloads.sourceforge.net/project/ufoai/UFO_AI%202.x/$pkgver/ufoai-$pkgver-source.tar.bz2)
md5sums=('d7e88aee0ea94149c8b9d90eb6c21ba9')
build() {
cd "$srcdir"/$pkgname-$pkgver-source
./configure \
--prefix=/usr \
--datadir=/usr/share/ufoai \
--enable-release \
--localedir=/usr/share/ufoai/base/i18n/
make
make lang
}
package() {
cd "$srcdir"/$pkgname-$pkgver-source
install -Dm755 ufo "$pkgdir"/usr/bin/ufo
install -Dm755 ufoded "$pkgdir"/usr/bin/ufoded
install -Dm755 ufo2map "$pkgdir"/usr/bin/ufo2map
install -Dm755 ufomodel "$pkgdir"/usr/bin/ufomodel
mkdir -p "$pkgdir"/usr/share/ufoai
cp -r base "$pkgdir"/usr/share/ufoai/
install -Dm644 debian/ufoai.desktop "$pkgdir"/usr/share/applications/ufoai.desktop
install -Dm644 debian/ufoai-safe.desktop "$pkgdir"/usr/share/applications/ufoai-safe.desktop
install -Dm644 debian/ufoded.desktop "$pkgdir"/usr/share/applications/ufoded.desktop
sed -i 's|/usr/games/||' "$pkgdir"/usr/share/applications/*
install -Dm644 debian/ufoai.xpm "$pkgdir"/usr/share/pixmaps/ufoai.xpm
install -Dm644 debian/ufoded.xpm "$pkgdir"/usr/share/pixmaps/ufoded.xpm
}

View File

@ -8,8 +8,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=unknown-horizons
pkgver=2011.3
pkgrel=2
pkgver=2012.1
pkgrel=1
pyver=2.7
pkgdesc="A 2D realtime strategy simulation with an emphasis on economy and city building"
arch=('i686' 'x86_64')
@ -18,11 +18,11 @@ license=('GPL' 'CCPL')
depends=('python2' 'python2-yaml' 'fife' 'python-distutils-extra')
categories=('games')
options=(!strip)
source=("http://downloads.sourceforge.net/project/unknownhorizons/Unknown%20Horizons/${pkgver}/${pkgname}-${pkgver}-source.tar.bz2")
md5sums=('0939357f9681c056cda7b161a4f17098')
source=("http://downloads.sourceforge.net/project/unknownhorizons/Unknown%20Horizons/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('003a24598fb55d8aee07db9488c02008')
package() {
cd $srcdir
cd $srcdir/$pkgname
sed -i 's/env python/env python2/' run_uh.py
@ -35,15 +35,4 @@ package() {
mkdir -p $pkgdir/usr/lib/python$pyver/site-packages/
mv $pkgdir/usr/lib/python/* $pkgdir/usr/lib/python$pyver/site-packages/
rm -rf $pkgdir/usr/lib/python
# Fix Enet (one-version fix).
# See http://forum.unknown-horizons.org/viewtopic.php?t=445 for additional information.
if [[ $CARCH = "i686" ]]; then
ARCH="x86"
else
ARCH="x64"
fi
wget http://trac.unknown-horizons.org/t/export/08c6bf3973d1b731ecc912f605cce22d5b739a83/horizons/network/linux-$ARCH/enet.so
mv ./enet.so $pkgdir/usr/lib/python$pyver/site-packages/horizons/network/linux-$ARCH/enet.so
}

View File

@ -1,37 +1,28 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=warsow-data
pkgver=0.62
_pkgname=warsow
pkgver=1.0
pkgrel=1
pkgdesc="a free online multiplayer competitive FPS based on the Qfusion engine (data files)"
pkgdesc="A free online multiplayer competitive FPS based on the Qfusion engine (data files)"
url="http://www.warsow.net/"
license=('custom:Warsow Content License')
arch=('any')
depends=()
makedepends=('unzip')
source=("http://www.zcdn.org/dl/warsow_0.61_unified.zip"
"http://www.zcdn.org/dl/warsow_0.62_update.zip")
noextract=("warsow_0.61_unified.zip"
"warsow_0.62_update.zip")
md5sums=('dd17ffccf51579e6b278624727190c01'
'b13804d1562ac9fb341d5d31105c5326')
build() {
cd $srcdir/
}
arch=('any')
source=("${_pkgname}_${pkgver}.tar.gz::http://www.warsow.net/download?dl=linux")
md5sums=('92fd62c4bbd1324605bd004da9472b9f')
package() {
# Extract game data
unzip -o warsow_0.61_unified.zip -d $srcdir/warsow
# Extract update on top of it
unzip -o warsow_0.62_update.zip -d $srcdir/warsow/warsow_0.61_unified
# Create the destination directories.
install -d $pkgdir/usr/share/${_pkgname}
# Create Destination Directories
install -d $pkgdir/opt/warsow/
# Move Data to destination directory.
cp -r $srcdir/${_pkgname}_${pkgver}/basewsw $pkgdir/usr/share/${_pkgname}
# Move Data to Destination Directory
cp -r $srcdir/warsow/warsow_0.61_unified/basewsw $pkgdir/opt/warsow
# Install Custom License: Warsow Content License
install -D -m 0644 $srcdir/warsow/warsow_0.61_unified/docs/license.txt \
# Install custom license: Warsow Content License.
install -Dm 0644 $srcdir/${_pkgname}_${pkgver}/docs/license.txt \
$pkgdir/usr/share/licenses/${pkgname}/license.txt
}
}

View File

@ -1,80 +1,57 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
#
# NOTE: The package must be built in a system with a matching architecture.
pkgname=warsow
pkgver=0.62
pkgrel=1
pkgdesc="a free online multiplayer competitive FPS based on the Qfusion engine"
pkgver=1.0
pkgrel=2
pkgdesc="A free online multiplayer competitive FPS based on the Qfusion engine"
url="http://www.warsow.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('curl' 'libjpeg' 'libvorbis' 'libxinerama' 'libxxf86dga' 'libxxf86vm' 'sdl' 'warsow-data')
makedepends=('mesa' 'openal' 'unzip')
depends=('curl' 'libjpeg' 'libtheora' 'libvorbis' 'libxinerama' 'libxrandr' 'libxxf86dga' 'libxxf86vm' 'sdl' 'warsow-data')
makedepends=('mesa' 'openal' 'imagemagick' 'gendesk')
optdepends=('openal: for openal audio support')
categories=('games')
source=('warsow.desktop' 'warsow.launcher' 'wsw-server.launcher' 'wswtv-server.launcher' \
"http://www.zcdn.org/dl/warsow_${pkgver}_sdk.zip")
noextract=("warsow_${pkgver}_sdk.zip")
md5sums=('f9bf60c80820237f7097c4e50a9582cd'
'ec00081d81ad9802a8ca42fc2eac5498'
'f73e10c26197178df71b941b10bf83d7'
'd7e4a69835bbcf801e58307e9d6b951e'
'649568447e938efded07e77cdfb3accb')
source=("https://launchpadlibrarian.net/111352130/${pkgname}_${pkgver}_sdk.tar.gz")
md5sums=('35b9a8f530b51cda15c660b3a73f377e')
build() {
unset CFLAGS
unset CXXFLAGS
cd ${srcdir}
gendesk -n
# Extract Game Source Code
unzip -o warsow_${pkgver}_sdk.zip -d $srcdir/warsow-src
# Compile Warsow.
cd $srcdir/${pkgname}_${pkgver}_sdk/source/
make -j1 # Error finding a library if -j is higher.
}
# Patch Makefile to use correct program to query for system information
sed -i 's:openal-config:pkg-config:g' $srcdir/warsow-src/source/Makefile
# Patch Makefile to correctly pass on ld opts
sed -i 's:--as-needed:-Wc,--as-needed:g' $srcdir/warsow-src/source/Makefile
# Patch Sound Code to point to base openal library
sed -i 's:libopenal.so.0:libopenal.so:g' $srcdir/warsow-src/source/snd_openal/snd_main.c
# Patch for libjpeg8
sed -i 's/jpeg_mem_src/_jpeg_mem_src/g' $srcdir/warsow-src/source/ref_gl/r_image.c
# Patch AngelScript so it compiles correctly on i686
if [ "$CARCH" == "i686" ]; then
sed -i 's:CXXFLAGS = \(.*\):CXXFLAGS = -march=i686 \1:' \
$srcdir/warsow-src/libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile
fi
# Compile Warsow
cd $srcdir/warsow-src/source/
make -j1
generateAndInstall() {
echo "#!/bin/bash" > $pkgdir/usr/bin/$1
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$1
echo "./$1 \$*" >> $pkgdir/usr/bin/$1
echo "exit \$?" >> $pkgdir/usr/bin/$1
chmod +x $pkgdir/usr/bin/$1
}
package() {
cd $srcdir/warsow-src/source/
# Create Destination Directories
install -d $pkgdir/opt/warsow/
cd $srcdir/${pkgname}_${pkgver}_sdk/source/
# Move Compiled Data to Destination Directory
cp -r $srcdir/warsow-src/source/release/* \
$pkgdir/opt/warsow
# Manual installation.
install -d $pkgdir/usr/share/${pkgname}/
cp -r $srcdir/${pkgname}_${pkgver}_sdk/source/release/* \
$pkgdir/usr/share/${pkgname}
# Install Client Game Launcher
install -D -m 0755 $srcdir/warsow.launcher \
$pkgdir/usr/bin/warsow
# Execution scripts:
install -d $pkgdir/usr/bin
for script in ${pkgname} wsw_server wswtv_server
do
generateAndInstall ${script}
done
# Install Server Game Launcher
install -D -m 0755 $srcdir/wsw-server.launcher \
$pkgdir/usr/bin/wsw-server
# Install WSWTV Server Launcher
install -D -m 0755 $srcdir/wswtv-server.launcher \
$pkgdir/usr/bin/wswtv-server
# Install Client Desktop Shortcut
install -D -m 0644 $srcdir/warsow.desktop \
$pkgdir/usr/share/applications/warsow.desktop
# Install Icon
install -D -m 0644 $srcdir/warsow-src/source/win32/warsow.ico \
$pkgdir/usr/share/pixmaps/warsow.ico
}
# Desktop integration:
install -D -m 0644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
install -Dm644 $srcdir/${pkgname}_${pkgver}_sdk/source/win32/${pkgname}.ico $pkgdir/usr/share/pixmaps/${pkgname}.png
}

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Warsow
GenericName=Warsow
Comment=Online Multiplayer Competitive FPS
Icon=/usr/share/pixmaps/warsow.ico
Exec=/usr/bin/warsow
Terminal=false
Type=Application
Categories=Application;Game
StartupNotify=true

View File

@ -1,5 +0,0 @@
#!/bin/bash
cd "/opt/warsow"
./warsow $*
exit $?

View File

@ -1,5 +0,0 @@
#!/bin/bash
cd "/opt/warsow"
./wsw_server $*
exit $?

View File

@ -1,5 +0,0 @@
#!/bin/bash
cd "/opt/warsow"
./wswtv_server $*
exit $?

View File

@ -1,3 +1,9 @@
2012-05-29 Samir Benmendil (Ram-Z) <samir.benmendil[at]gmail[dot]com>
* 3.1_beta10 :
upgraded.
added qt and glew as depends
2010-11-29 Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
* 2.3.6-1 :

View File

@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=warzone2100
pkgver=2.3.9
pkgver=3.1_beta10
pkgrel=1
pkgdesc="3D real-time strategy game where you fight to rebuilt the world destroyed by nuclear war."
arch=('i686' 'x86_64')
@ -12,12 +12,13 @@ url="http://wz2100.net/"
license=('GPL')
groups=()
categories=('games')
depends=(sdl_net libgl openal libjpeg libpng libvorbis libtheora libmad physfs mesa quesoglc popt ttf-dejavu)
depends=(sdl_net libgl openal libjpeg libpng libvorbis libtheora libmad physfs mesa quesoglc popt ttf-dejavu qt glew)
makedepends=(gawk bison flex zip unzip)
conflicts=(warzone2100-dev)
changelog=ChangeLog
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7185090a089c9c0e0eca7535a8f25dca')
md5sums=('711176fb6547f22194d3845c4599d318')
build() {
cd $srcdir/$pkgname-$pkgver

View File

@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=wesnoth
pkgver=1.10.1
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=('a2ac2d629d4e3e5fc7e7e48f935d9960')
md5sums=('b25354c71d58f82c2c60cc12c6f09c36')
build() {
cd $srcdir/$pkgname-$pkgver

View File

@ -3,11 +3,8 @@
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=wfmath
pkgver=0.3.11
pkgver=1.0.0
pkgrel=1
pkgdesc="WorldForge math library."
arch=('i686' 'x86_64')
@ -15,7 +12,7 @@ url="http://sourceforge.net/projects/worldforge/"
license=('GPL')
categories=('games')
source=(http://downloads.sourceforge.net/project/worldforge/wfmath%20\(math%20lib\)/$pkgver/$pkgname-$pkgver.tar.bz2)
sha256sums=('da4d4f55b2d56cf8412db406933b0331a051a17b3053ac91003323cbe51eecea')
sha256sums=('6283fde403b87547b41394af0a1993f5086d7cb9d2ed8db4bcca5fae625fd99b')
build() {
cd ${srcdir}/$pkgname-$pkgver

View File

@ -4,9 +4,9 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=widelands
pkgver=16
_pkgver=build16
pkgrel=3
pkgver=17
_pkgver=build$pkgver
pkgrel=1
pkgdesc="A realtime strategy game with emphasis on economy and transport."
arch=('i686' 'x86_64')
url="http://widelands.org/"
@ -14,16 +14,18 @@ license=('GPL')
depends=('boost-libs' 'ggz-client-libs' 'glew' 'lua' 'python2' 'sdl_gfx' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')
makedepends=('boost' 'cmake')
categories=('games')
source=(http://launchpad.net/$pkgname/$_pkgver/$_pkgver/+download/$pkgname-$_pkgver-src.tar.bz2
source=(http://launchpad.net/$pkgname/$_pkgver/build-$pkgver/+download/$pkgname-$_pkgver-src.tar.bz2
$pkgname.desktop
$pkgname.png)
md5sums=('3d8c28e145b73c64d8ed1625319d25a2'
md5sums=('bdc9bc0aa631af1aa7fb450507611a58'
'86950190758e1aeaec8fe742440e8ab5'
'3dfda7e9ca76ca00dd98d745d0ceb328')
build() {
cd $srcdir/$pkgname-$_pkgver-src
sed -i "1 i #include <unistd.h>" src/main.cc
mkdir -p build/compile && cd build/compile
cmake \

View File

@ -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 \