updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / openmortal / PKGBUILD
blobd887e82657f21fc9e71b8546f0bed6a1f91f6872
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: rabyte <rabyte.at.pen.dot.tj>
3 # Contributor: mpie <michael.kyne-phillips1.at.ntlworld.dot.com>
5 pkgname=openmortal
6 pkgver=0.7
7 pkgrel=3
8 pkgdesc="A networked clone of the fighting game Mortal Kombat"
9 arch=('i686')
10 url="http://openmortal.sourceforge.net/"
11 license=('GPL2')
12 depends=('sdl_image' 'sdl_mixer' 'sdl_net' 'freetype2')
13 options=(!libtool)
14 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
15         $pkgname-$pkgver-gcc41.patch)
16 md5sums=('95278382bb563906fce624d833a845cf' 
17          '7823133f184a4cd5859f971e6e2f3452')
19 build() {
20     cd $srcdir/$pkgname-$pkgver
22     patch -Np0 -i $srcdir/$pkgname-$pkgver-gcc41.patch || return 1
24     ./configure --prefix=/usr
25     make || return 1
26     make DESTDIR=$pkgdir install || return 1