# # Games Packages for Chakra, part of chakra-project.org # # Maintainer: Adrián Chaves Fernández (Gallaecio) # Contributor: Iwan Gabovitch pkgname=radius-engine pkgver=1.1 pkgrel=2 pkgdesc="2D game engine built on top of SDL, OpenGL, and Lua." arch=(i686 x86_64) url="http://radius-engine.sourceforge.net/" license=("MIT") depends=('lua' 'physfs' 'sdl' 'sdl_sound') makedepends=('sed') source=(http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz) md5sums=('d9f95d432f63e740d004b563972efcfa') build() { cd $srcdir/$pkgname-$pkgver # Dirty fix. sed -i 's/lua5.1/lua/g' configure # Configure and build. ./configure \ --prefix=/usr \ --sysconfdir=/etc make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }