OpenMortal added, as requested in the forums.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2011-04-16 17:00:35 +00:00
parent 176ee71455
commit 788aa86b4a
2 changed files with 47 additions and 0 deletions

36
openmortal/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
#
# 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=openmortal
pkgver=0.7
pkgrel=1
pkgdesc="A networked clone of the fighting game Mortal Kombat."
arch=('i686' 'x86_64')
url="http://openmortal.sourceforge.net/"
license=('GPL2')
depends=('freetype2' 'sdl_image' 'sdl_mixer' 'sdl_net')
options=(!libtool)
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
$pkgname-$pkgver-gcc41.patch)
md5sums=('95278382bb563906fce624d833a845cf'
'7823133f184a4cd5859f971e6e2f3452')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np0 -i $srcdir/$pkgname-$pkgver-gcc41.patch || return 1
./configure \
--prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}

View File

@ -0,0 +1,11 @@
--- src/OnlineChat.cpp.old 2006-01-28 14:34:42.000000000 -0700
+++ src/OnlineChat.cpp 2006-01-28 14:34:53.000000000 -0700
@@ -56,7 +56,7 @@
class CChallengeMenu: public Menu
{
public:
- CChallengeMenu::CChallengeMenu( std::string a_sChallenger )
+ CChallengeMenu( std::string a_sChallenger )
: Menu( "You have been challenged!" ),
m_sChallenger( a_sChallenger )
{