void-packages/srcpkgs/opensurge/template

19 lines
628 B
Bash

# Template file for 'opensurge'
pkgname=opensurge
version=0.6.1.1
revision=1
build_style=cmake
hostmakedepends="surgescript pkg-config"
makedepends="allegro5-devel surgescript surgescript-devel"
short_desc="Retro platformer inspired by Sonic"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://opensurge2d.org/"
distfiles="https://github.com/alemart/opensurge/archive/v${version}.tar.gz"
checksum=00df5394803ea9c589e28fd8334bb8b8a11434a4b041e3eab242e6040076aabc
replaces="opensurge-data>=0"
pre_configure() {
vsed -i CMakeLists.txt -e 's/GAME_BINDIR "games"/GAME_BINDIR "bin"/'
}