void-packages/srcpkgs/opensurge/template

23 lines
628 B
Bash

# Template file for 'opensurge'
pkgname=opensurge
version=0.5.1.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="allegro5-devel surgescript-devel"
depends="opensurge-data>=0"
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=d060e3215231741ce0b4e5b897af52f8755c57660c8a33856bf921c83af18ba2
opensurge-data_package() {
short_desc+=" - game data"
archs=noarch
pkg_install() {
vmove usr/share/games
}
}