void-packages/srcpkgs/endless-sky/template

23 lines
833 B
Bash

# Template file for 'endless-sky'
pkgname=endless-sky
version=0.10.8
revision=1
build_style=cmake
configure_args="-DES_USE_VCPKG=OFF -DCMAKE_BUILD_TYPE=Release"
makedepends="SDL2-devel glew-devel libjpeg-turbo-devel libmad-devel
libopenal-devel libpng-devel"
short_desc="Space exploring, trading, and combat game"
maintainer="CoolOhm <micvlas@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://endless-sky.github.io/"
changelog=https://raw.githubusercontent.com/endless-sky/endless-sky/master/changelog
distfiles="https://github.com/endless-sky/endless-sky/archive/v${version}.tar.gz"
checksum=3b5f334976758f2fcc9af26d74f1779b8ba4246714755e774c3099c4fb25f7a0
replaces="endless-sky-data>=0"
make_check=no # requires working X11+GLX
post_install() {
vmkdir usr/bin
mv "${DESTDIR}/usr/games/endless-sky" "${DESTDIR}/usr/bin"
}