[arch-commits] Commit in simutrans/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Mar 13 18:45:02 UTC 2022


    Date: Sunday, March 13, 2022 @ 18:45:01
  Author: arojas
Revision: 1151179

Update to 123.0.1

Modified:
  simutrans/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-13 18:44:57 UTC (rev 1151178)
+++ PKGBUILD	2022-03-13 18:45:01 UTC (rev 1151179)
@@ -5,7 +5,7 @@
 # Contributor: JD Steffen <jd at steffennet dot org>
 
 pkgname=simutrans
-pkgver=123.0
+pkgver=123.0.1
 pkgrel=1
 pkgdesc="Transportation simulation game"
 arch=('x86_64')
@@ -14,13 +14,13 @@
 depends=('gcc-libs' 'zlib' 'sdl2' 'libpng' 'bzip2' 'simutrans-pak64' 'hicolor-icon-theme')
 makedepends=('dos2unix')
 optdepends=('timidity++: play MIDI music')
-source=(https://downloads.sourceforge.net/$pkgname/$pkgname-src-${pkgver/./-}.zip
+source=(https://downloads.sourceforge.net/$pkgname/$pkgname-src-${pkgver//./-}.zip
         https://raw.githubusercontent.com/aburch/simutrans/8593f5b1248d03f907a149f7abc41ae6512009e1/simutrans.svg
         settings-folder.patch
         path-for-game-data.patch
         simutrans.desktop
         simutrans.appdata.xml)
-sha256sums=('02e20fe41216dce13cd02908b647f5e48ec737d67e869b5e4f1ef9235a402080'
+sha256sums=('8deb38c8de41fb5558640cdd4b9b161c38de92c077b3e506f74c34f93214f469'
             'c0c2dd5da146f64901b00c6ee67e0818a166b983a81cee7897c4843aa9f21c81'
             '5f009471489583fd48bcce5d4869048d1164423771cfd955840ae995cd6a70ca'
             '895405df0904e6c245ab5b6e1824a59e0af7a0a0ef5ccb6f69f20b6ab8223092'
@@ -37,6 +37,8 @@
 
   # Configure the build process
   cp config.template config.default
+
+  sed -e 's|\\#define|#define|' -i Makefile
 }
 
 build() {



More information about the arch-commits mailing list