desktop/radius-engine/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) e6d432a135 Physfs 2.0.3
2012-10-23 22:37:30 +00:00

37 lines
826 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Iwan Gabovitch <qubodup@gmail.com>
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
}