mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
OpenMortal added, as requested in the forums.
This commit is contained in:
parent
176ee71455
commit
788aa86b4a
36
openmortal/PKGBUILD
Normal file
36
openmortal/PKGBUILD
Normal 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
|
||||
}
|
11
openmortal/openmortal-0.7-gcc41.patch
Normal file
11
openmortal/openmortal-0.7-gcc41.patch
Normal 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 )
|
||||
{
|
Loading…
Reference in New Issue
Block a user