void-packages/srcpkgs/endless-sky/template

22 lines
792 B
Bash

# Template file for 'endless-sky'
pkgname=endless-sky
version=0.10.4
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=baeaa462315587788d81c58847d600f66f1ced063cdfb4cf108d6a26fe75e175
replaces="endless-sky-data>=0"
post_install() {
vmkdir usr/bin
mv "${DESTDIR}/usr/games/endless-sky" "${DESTDIR}/usr/bin"
}