quakespasm: update to 0.96.3, remove desktop file.

This commit is contained in:
Roger Freitas Pereira 2024-08-30 07:09:34 -03:00 committed by classabbyamp
parent b734499862
commit 450880fd28
2 changed files with 8 additions and 13 deletions

View File

@ -1,10 +0,0 @@
[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

@ -1,6 +1,6 @@
# Template file for 'quakespasm'
pkgname=quakespasm
version=0.96.1
version=0.96.3
revision=1
build_wrksrc="Quake"
build_style=gnu-makefile
@ -13,14 +13,19 @@ license="GPL-2.0-or-later"
homepage="http://quakespasm.sourceforge.net/"
changelog="http://quakespasm.sourceforge.net/Quakespasm.html#s5"
distfiles="${SOURCEFORGE_SITE}/quakespasm/Source/quakespasm-${version}.tar.gz"
checksum=49a53e451d5e250982a855a8c9d2694c12397f01bd6fad0dea9e3f57f443b5cc
checksum=b578d6ce4a4f7f4e26a24458f18c4bcc8d3854ae6252eb9982ee81d95e50180e
case "$XBPS_TARGET_MACHINE" in
arm*) makedepends+=" MesaLib-devel"
esac
post_build() {
vsed -i ../Linux/net.sourceforge.quakespasm.Quakespasm.desktop \
-e 's/Icon=net.sourceforge.quakespasm.Quakespasm/Icon=quakespasm/'
}
do_install() {
vbin quakespasm
vinstall ../Misc/QuakeSpasm_512.png 644 usr/share/pixmaps quakespasm.png
vinstall ${FILESDIR}/quakespasm.desktop 644 usr/share/applications
vinstall ../Linux/net.sourceforge.quakespasm.Quakespasm.desktop 644 usr/share/applications
}