# Template file for 'endless-sky'
pkgname=endless-sky
version=0.9.8
revision=2
build_style=scons
makedepends="SDL2-devel glew-devel libjpeg-turbo-devel libmad-devel
 libopenal-devel libpng-devel"
depends="${pkgname}-data"
short_desc="Space exploring, trading, and combat game"
maintainer="CoolOhm <micvlas@gmail.com>"
homepage="http://endless-sky.github.io/"
license="GPL-3.0-or-later"
distfiles="https://github.com/endless-sky/endless-sky/archive/v${version}.tar.gz"
checksum=69078c67656709646deb0c46fd960aa905601c23bb47c1696b0962ae8dff6d1e

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