# Template file for 'supertuxkart'
pkgname=supertuxkart
version=0.9.2
revision=1
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libgomp-devel libjpeg-turbo-devel libpng-devel
 libbluetooth-devel glu-devel libvorbis-devel libXrandr-devel
 libopenal-devel fribidi-devel libcurl-devel freetype-devel"
depends="desktop-file-utils hicolor-icon-theme supertuxkart-data"
short_desc="Kart racing game featuring Tux and his friends"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://supertuxkart.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.xz"
checksum=0b080bb098a26adb552d6fd48905bcb6b1e873ef1567457d7268d7d3aaa48282

supertuxkart-data_package() {
	short_desc+=" - data files"
	noarch=yes
	pkg_install() {
		vmove usr/share/supertuxkart
	}
}
