New package: quakespasm-0.93.1 (#608)

This commit is contained in:
Solitude 2018-07-12 23:43:22 +03:00 committed by cr6git
parent a46ac5ad3f
commit a1863d92b7
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=Quakespasm
GenericName=Quake engine
Icon=quakespasm
Exec=quakespasm
Categories=Game;Shooter;
Comment=Quakespasm Quake engine
Terminal=false
StartupNotify=true

View File

@ -0,0 +1,25 @@
# 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
}