srb2: update to 2.2.13.

This commit is contained in:
oreo639 2023-12-15 00:30:27 -08:00 committed by Duncan Overbruck
parent 36fec52fc3
commit f3fa2caa18
2 changed files with 4 additions and 23 deletions

View file

@ -1,19 +0,0 @@
diff -Naur comptime.sh comptime.sh.new
--- a/SRB2-SRB2_release_2.2.10/comptime.sh 2022-03-06 13:52:43.000000000 -0800
+++ b/SRB2-SRB2_release_2.2.10/comptime.sh 2022-03-06 17:05:02.725041025 -0800
@@ -40,13 +40,14 @@
const char* compbranch = "Unknown";
const char* comprevision = "illegal";
EOF
+exit 0
}
compversion() {
touch $path/comptime.c
-versionfake
test -d $path/.svn && versionsvn
test -d $path/../.git && versiongit
+versionfake
exit 1
}

View file

@ -1,6 +1,6 @@
# Template file for 'srb2'
pkgname=srb2
version=2.2.10
version=2.2.13
revision=1
create_wrksrc=true
build_wrksrc="SRB2-SRB2_release_${version}"
@ -17,8 +17,8 @@ license="GPL-2.0-or-later"
homepage="https://srb2.org/"
distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz
https://github.com/STJr/SRB2/releases/download/SRB2_release_${version}/SRB2-v${version//./}-Full.zip"
checksum="feb3a95a15ea04218282e5c4f01ae3733672e14d219e2792dcfc500dcf89a3c2
e69ac5cacc86f85eeaba14644a37cad932f7d7031b667892d2f9ba9bfb437d25"
checksum="0fc460dc93c056c21bfcc389ac0515588673ee692968d9a6711b19e63d283b3f
83b91a351135b63705e49daffa44e7ac3cf3e33b397f56ff347ebb71eda27d4a"
restricted=yes
case "$XBPS_TARGET_MACHINE" in
@ -46,7 +46,7 @@ do_install() {
vinstall srb2.png 644 /usr/share/pixmaps/
vinstall srb2.desktop 644 /usr/share/applications/
vmkdir /usr/share/games/SRB2
for f in {music,player}.dta {srb2,zones}.pk3 models models.dat; do
for f in {music,player}.dta {srb2,zones,patch}.pk3 models models.dat; do
vcopy ../${f} /usr/share/games/SRB2
done
}