mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
srb2: update to 2.2.13.
This commit is contained in:
parent
36fec52fc3
commit
f3fa2caa18
2 changed files with 4 additions and 23 deletions
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue