desktop/xmoto/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 3911b226ce Added X-Moto.
2011-07-21 19:45:44 +00:00

37 lines
979 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=xmoto
pkgver=0.5.7
pkgrel=1
pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
arch=('i686' 'x86_64')
url="http://xmoto.tuxfamily.org"
license=('GPL')
depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode=0.11.1' 'curl'
'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'libxdg-basedir')
source=("http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz")
md5sums=('c4b8477412445e114843b3b6163937f3')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
LDFLAGS="-L/usr/lib" \
--prefix=/usr \
--disable-sdltest
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir mangdir=/usr/share/man/man6 install
install -Dm0644 $srcdir/$pkgname-$pkgver/extra/xmoto.xpm \
$pkgdir/usr/share/pixmaps/xmoto.xpm
}