mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
37 lines
826 B
Bash
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
|
|
}
|
|
|