26 lines
775 B
Bash
26 lines
775 B
Bash
# Template file for 'quakespasm'
|
|
pkgname=quakespasm
|
|
version=0.93.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
build_wrksrc="Quake"
|
|
makedepends="SDL2-devel libmad-devel"
|
|
make_build_args="DO_USERDIRS=1 USE_SDL2=1"
|
|
make_use_env=yes
|
|
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=ed3ee6ba7e3d9454c7620757cc166e13d892f1167c7b74bef4f067e350d835ae
|
|
|
|
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
|
|
}
|