# Description: mortal combat clone
# URL:         http://openmortal.sourceforge.net/
# Maintainer:  Thomas Penteker, tek at serverop dot de
# Depends on:  sdl_net, sdl_image, sdl_mixer

name=openmortal
version=0.7
release=1
source=(http://download.sourceforge.net/openmortal/$name-$version.tar.bz2 fixcmenu.diff)

build() {
  cd $name-$version
  patch -p1 -i ../fixcmenu.diff
  ./configure --prefix=/usr
  make
  make install DESTDIR=$PKG
}