makedeb


wipeout-git 0.r68.90702ce-1


Futuristic anti-gravity racing game. A re-implementation of the 1995 game wipEout.

Click here to go back to the commit logs for wipeout-git.

Commit:


Hash: 428ac55e623129e9d6fd44657c2d5946aaf31ee1

Message: fix md5 in wrapper

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9814b6b..b747e96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = wipeout-git
 pkgbase = wipeout-git
 pkgdesc = Futuristic anti-gravity racing game. A re-implementation of the 1995 game wipEout.
 pkgrel = 1
-pkgver = 0.r23.ecf1e63
+pkgver = 0.r42.0594285
 url = https://phoboslab.org/log/2023/08/rewriting-wipeout
 arch = amd64
 conflicts = wipeout
@@ -13,6 +13,7 @@ license = abandonware
 makedepends = git
 makedepends = libsdl2-dev
 makedepends = libglew-dev
+options = !strip
 provides = wipeout
 source = git+https://github.com/phoboslab/wipeout-rewrite
 source = https://phoboslab.org/files/wipeout-data-v01.zip
diff --git a/PKGBUILD b/PKGBUILD
index 3a9cd16..414c982 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 pkgname=wipeout-git
 _pkgname=wipeout
 _srcname=wipeout-rewrite
-pkgver=0.r23.ecf1e63
+pkgver=0.r42.0594285
 pkgrel=1
 pkgdesc="Futuristic anti-gravity racing game. A re-implementation of the 1995 game wipEout."
 arch=('amd64')
@@ -24,6 +24,7 @@ source=("git+https://github.com/phoboslab/wipeout-rewrite"
 b2sums=('SKIP'
         '072987a4b532ba4a00e78d721719035bc763774f6b0f2c3de003b6597436618c6b8757f6ca8417d5db21720abfa0f49c13527963fd9cf797691cde419cd61ea7'
         'ae98c5d030abe7299eece616f645583f91a5c906c009c747c3d93c584edc081f0478f449a59e1395e889b7057f4e3b56e326abb9a932eab8dd1ac66dc4c90b5b')
+options=('!strip')
 
 pkgver() {
     cd ${srcdir}/${_srcname}
@@ -51,7 +52,8 @@ package() {
 
   # Adjustments
   rm $pkgdir/usr/share/games/${_pkgname}/game_data_goes_here.txt
-  md5checksum="$(md5sum "$srcdir/${_srcname}/wipegame" | sed "s!$srcdir/${_srcname}/wipegame!$_pkgname-bin!")"
+  strip --strip-all "$pkgdir/usr/libexec/${_pkgname}"
+  _md5checksum="$(md5sum "$pkgdir/usr/libexec/${_pkgname}" | sed "s!$pkgdir/usr/libexec/${_pkgname}!$_pkgname-bin!")"
 
   # Desktop file
 echo "[Desktop Entry]
@@ -74,7 +76,7 @@ Categories=Application;Game" > $pkgdir/usr/share/applications/wipeout.desktop
 echo "#!/bin/sh
 
 config_dir=\"\${XDG_CONFIG_HOME:-\$HOME/.config}/${_pkgname}\"
-md5checksum=\"$md5checksum\"
+md5checksum=\"$_md5checksum\"
 
 if [ ! -e \$config_dir/$_pkgname ]; then
   mkdir -p \"\$config_dir\"