updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / radius-engine / PKGBUILD
blob9ff06b9914cfe643cb565f56e15bb865a6407cdb
1 # Maintainer: Iwan Gabovitch <qubodup@gmail.com>
3 pkgname=radius-engine
4 pkgver=0.7
5 pkgrel=1
6 pkgdesc="2D game engine built on top of SDL, OpenGL, and Lua"
7 arch=(i686 x86_64)
8 url="http://radius-engine.sourceforge.net/"
9 license=("MIT")
10 depends=('lua' 'sdl' 'sdl_sound' 'physfs')
11 makedepends=('sed')
12 optdepends=()
13 conflicts=()
14 source=(http://sourceforge.net/projects/radius-engine/files/${pkgname}-${pkgver}.tar.gz)
15 md5sums=('1eaf4858adf4b7d049bff0d11a070848')
17 build() {
18         cd ${srcdir}/${pkgname}-${pkgver}
19         # dirty fix ahead
20         sed -i 's/lua5.1/lua/g' configure
22         ./configure --prefix=/usr --sysconfdir=/etc 
23         make || return 1
24         make DESTDIR=${startdir}/pkg install