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

parents 9d84eed0 90ad9a5d
......@@ -6,31 +6,34 @@
pkgname=allegro
pkgver=5.0.6
pkgrel=2
pkgrel=3
pkgdesc="Portable library mainly aimed at video game and multimedia programming."
arch=('i686' 'x86_64')
url="http://alleg.sourceforge.net/"
license=('ZLIB')
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)
source=("http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz")
md5sums=('c4b4384ef03ac5f6388f378f3eeff243')
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}"
}
# vim:set ts=2 sw=2 et:
# 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
}
......@@ -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')
......@@ -5,7 +5,7 @@
pkgname=pokerth
_realname=PokerTH
pkgver=0.9.4
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=('afdc63e9a4e499fd70fc0eee4d8dc1a9')
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:
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