diff --git a/srcpkgs/OpenRCT2/template b/srcpkgs/OpenRCT2/template index d85a675a60a..e4077eaab9e 100644 --- a/srcpkgs/OpenRCT2/template +++ b/srcpkgs/OpenRCT2/template @@ -2,10 +2,10 @@ # based on https://raw.githubusercontent.com/AluisioASG/void-packages/openrct2/srcpkgs/OpenRCT2/template # and https://github.com/void-linux/void-packages/issues/1014#issuecomment-417372421 pkgname=OpenRCT2 -version=0.4.10 +version=0.4.11 revision=1 # versions pulled from https://raw.githubusercontent.com/OpenRCT2/OpenRCT2/v${version}/CMakeLists.txt -_objects_version=1.4.3 +_objects_version=1.4.4 _titles_version=0.4.6 _replays_version=0.0.79 _opensfx_version=1.0.5 @@ -35,22 +35,22 @@ homepage="https://openrct2.io" changelog="https://openrct2.org/changelog" # download objects and title sequences ourselves, instead of letting cmake do it distfiles="https://github.com/OpenRCT2/OpenRCT2/archive/v${version}.tar.gz - https://github.com/OpenRCT2/objects/releases/download/v${_objects_version}/objects.zip - https://github.com/OpenRCT2/OpenSoundEffects/releases/download/v${_opensfx_version}/opensound.zip - https://github.com/OpenRCT2/OpenMusic/releases/download/v${_openmsx_version}/openmusic.zip - https://github.com/OpenRCT2/replays/releases/download/v${_replays_version}/replays.zip - https://github.com/OpenRCT2/title-sequences/releases/download/v${_titles_version}/title-sequences.zip" -checksum="7889791f2a8f14e6a970d6f6e48b897f91c9c6345a745b0e07815a77d7ddbc36 - cc2c8304e35337fb7b4daffa9b0ad1afa9a9f3f8f895817671a71c665d372764 + https://github.com/OpenRCT2/objects/releases/download/v${_objects_version}/objects.zip>objects-${_objects_version}.zip + https://github.com/OpenRCT2/OpenSoundEffects/releases/download/v${_opensfx_version}/opensound.zip>opensound-${_opensfx_version}.zip + https://github.com/OpenRCT2/OpenMusic/releases/download/v${_openmsx_version}/openmusic.zip>openmusic-${_openmsx_version}.zip + https://github.com/OpenRCT2/replays/releases/download/v${_replays_version}/replays.zip>replays-${_replays_version}.zip + https://github.com/OpenRCT2/title-sequences/releases/download/v${_titles_version}/title-sequences.zip>title-sequences-${_titles_version}.zip" +checksum="d6211dc9651b43315c5d22e30aa41e582bb861d2541b82bb65de8f4f95f0cdef + da017b90a3870649cb4ff22e14edfc746259af048967311d1133cf4c836ae5a0 a952148be164c128e4fd3aea96822e5f051edd9a0b1f2c84de7f7628ce3b2e18 c3fac4caa90398a2b4c5bb32e0dd0f44073086fe16121d3dc49b3ca120474068 045da1df8697e2d33ff33b34008f22e7698280aa4639afd1b1fc3c590d5e9956 24a189cdaf1f78fb6d6caede8f1ab3cedf8ab9f819cd2260a09b2cce4c710d98" -skip_extraction="objects.zip - opensound.zip - openmusic.zip - replays.zip - title-sequences.zip" +skip_extraction="objects-${_objects_version}.zip + opensound-${_opensfx_version}.zip + openmusic-${_openmsx_version}.zip + replays-${_replays_version}.zip + title-sequences-${_titles_version}.zip" replaces="OpenRCT2-data>=0" @@ -86,11 +86,11 @@ fi post_extract() { _builddir="${build_wrksrc:+$build_wrksrc/}${cmake_builddir:=build}" - vsrcextract --no-strip-components -C data/object objects.zip - vsrcextract --no-strip-components -C data/sequence title-sequences.zip - vsrcextract --no-strip-components -C data opensound.zip - vsrcextract --no-strip-components -C data openmusic.zip - vsrcextract --no-strip-components -C test/tests/testdata/replays replays.zip + vsrcextract --no-strip-components -C data/object objects-${_objects_version}.zip + vsrcextract --no-strip-components -C data/sequence title-sequences-${_titles_version}.zip + vsrcextract --no-strip-components -C data opensound-${_opensfx_version}.zip + vsrcextract --no-strip-components -C data openmusic-${_openmsx_version}.zip + vsrcextract --no-strip-components -C test/tests/testdata/replays replays-${_replays_version}.zip # CMakeLists seems to assume `install` is run before `check`, and so # doesn't actually make the `data`/`testdata` symlinks in time mkdir -p "${_builddir}"