25 lines
786 B
Bash
25 lines
786 B
Bash
# Template file for 'quakespasm'
|
|
pkgname=quakespasm
|
|
version=0.94.1
|
|
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}.tar.gz"
|
|
checksum=5732593947ac2c6560a2bc21f766c7d92a5eba76f70199faf572c631f5bef9a5
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) makedepends+=" MesaLib-devel"
|
|
esac
|
|
|
|
do_install() {
|
|
vbin quakespasm
|
|
vinstall ../Misc/QuakeSpasm_512.png 644 usr/share/pixmaps quakespasm.png
|
|
vinstall ${FILESDIR}/quakespasm.desktop 644 usr/share/applications
|
|
}
|