void-packages/srcpkgs/xmoto/template

24 lines
944 B
Text
Raw Normal View History

2014-04-22 19:24:27 +00:00
# Template build file for 'xmoto'
pkgname=xmoto
version=0.5.11
2014-04-22 20:16:51 +00:00
revision=2
2014-04-22 19:24:27 +00:00
build_style=gnu-configure
short_desc="2D motocross platform game"
maintainer="Enno Boland <eb@s01.de>"
license="GPL"
makedepends="sqlite-devel zlib-devel libjpeg-turbo-devel libpng-devel
libxml2-devel libxdg-basedir-devel glu-devel SDL-devel SDL_mixer-devel
SDL_net-devel SDL_ttf-devel lua-devel libcurl-devel libode-devel
bzip2-devel"
2014-04-22 20:16:51 +00:00
hostmakedepends="libxml2-devel SDL-devel desktop-file-utils"
2014-04-22 19:24:27 +00:00
homepage="http://xmoto.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/xmoto/xmoto/$version/$pkgname-$version-src.tar.gz"
checksum=a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2
configure_args="--disable-sdltest CPPFLAGS=-DdDOUBLE"
2014-04-22 20:16:51 +00:00
post_install() {
desktop-file-install --set-key=Icon --set-value=xmoto -m 0644 \
--dir="${DESTDIR}/usr/share/applications" extra/xmoto.desktop
vinstall "extra/xmoto.xpm" 644 "${pkgdir}/usr/share/pixmaps"
}