desktop/openmortal/PKGBUILD
2012-03-07 11:00:46 +00:00

38 lines
934 B
Bash

#
# 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)
categories=('games')
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
}