yquake2: update to 8.00.

This commit is contained in:
Helmut Pozimski 2021-06-19 07:49:27 +02:00
parent 390f628339
commit 5d9567aae5
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'yquake2' # Template file for 'yquake2'
pkgname=yquake2 pkgname=yquake2
version=7.45 version=8.00
revision=1 revision=1
wrksrc="quake2-${version}" wrksrc="quake2-${version}"
build_style=cmake build_style=cmake
@ -14,7 +14,7 @@ maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://www.yamagi.org/quake2/" homepage="https://www.yamagi.org/quake2/"
distfiles="https://deponie.yamagi.org/quake2/quake2-${version}.tar.xz" distfiles="https://deponie.yamagi.org/quake2/quake2-${version}.tar.xz"
checksum=c7524567bf1aa6045f25619bea6e4fd9066284b3fb81863b581fb44f4f47ff65 checksum=60d8d10fc2b4d75b961251990e4d903357194a73210bc1e42924edef887d0eb2
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
armv*) makedepends+=" MesaLib-devel";; armv*) makedepends+=" MesaLib-devel";;
@ -36,4 +36,7 @@ do_install() {
vinstall stuff/yq2.cfg 644 usr/share/doc/${pkgname} vinstall stuff/yq2.cfg 644 usr/share/doc/${pkgname}
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
vinstall stuff/icon/Quake2.png 644 usr/share/pixmaps ${pkgname}.png vinstall stuff/icon/Quake2.png 644 usr/share/pixmaps ${pkgname}.png
# needed because the game currently won't start when the directory doesn't exist
vmkdir usr/share/games/quake2
touch ${DESTDIR}/usr/share/games/quake2/.emptydir
} }