void-packages/srcpkgs/quakespasm/template
2019-11-20 08:38:08 +01:00

25 lines
775 B
Bash

# Template file for 'quakespasm'
pkgname=quakespasm
version=0.93.2
revision=1
build_wrksrc="Quake"
build_style=gnu-makefile
make_build_args="DO_USERDIRS=1 USE_SDL2=1"
make_use_env=yes
makedepends="SDL2-devel libmad-devel"
short_desc="Modern Quake 1 engine"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://quakespasm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/quakespasm/Source/quakespasm-${version}.tgz"
checksum=45eb37548cc0352e358fa67eee57d7b8e731efbcd7bba63ac27b2f9f5b91a062
case "$XBPS_TARGET_MACHINE" in
arm*) makedepends+=" libGL"
esac
do_install() {
vbin quakespasm
vinstall ../Misc/QuakeSpasm_512.png 644 usr/share/pixmaps quakespasm.png
vinstall ${FILESDIR}/quakespasm.desktop 644 usr/share/applications
}