Giancarlo Razzolini pushed to branch main at Arch Linux / Packaging / Packages 
/ steam


Commits:
811bf522 by Christian Heusel at 2024-08-21T13:52:05+02:00
Use the stable steam apt repo as version source

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/steam/-/issues/20

- - - - -
8ec83746 by Christian Heusel at 2024-08-21T19:09:51+02:00
Switch packaging source to archive of the apt repo

This allows the package to stay buildable even if a new upstream version
is released and the original package gets removed from the APT pool.

The archive is not inherently connected to the APT repo, but the
managing scripts used by upstream guarantee that the package also shows
up there once it is released to the APT repo.

Related to 
https://gitlab.archlinux.org/archlinux/packaging/packages/steam/-/issues/20

- - - - -


3 changed files:

- .SRCINFO
- .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -29,8 +29,8 @@ pkgbase = steam
        depends = libxcrypt-compat
        depends = gcc-libs
        optdepends = steam-native-runtime: steam native runtime support
-       source = 
https://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.81.tar.gz
-       source = 
https://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.81.dsc
+       source = 
https://repo.steampowered.com/steam/archive/stable/steam_1.0.0.81.tar.gz
+       source = 
https://repo.steampowered.com/steam/archive/stable/steam_1.0.0.81.dsc
        source = steam-runtime.sh
        validpgpkeys = BA1816EF8E75005FCF5E27A1F24AEA9FB05498B7
        sha512sums = 
adbb89f3af069d9ff417ca7789a3d275e6485212ec8e08a4b2d110a2f370fc6d1a564895ba58b0548ea1521ee90029a4bb397ef86f29e093907abd562f65d07f


=====================================
.nvchecker.toml
=====================================
@@ -1,4 +1,10 @@
 [steam]
-source = "regex"
-url = "https://repo.steampowered.com/steam/pool/steam/s/steam/";
-regex = "steam_(\\d+\\.\\d+\\.\\d+\\.\\d+).tar.gz"
+source = "apt"
+mirror = "https://repo.steampowered.com/steam";
+srcpkg = "steam"
+suite = "stable"
+repo = "steam"
+strip_release = "true"
+# ignore the APT epoch
+from_pattern = "\\d+:(.+)"
+to_pattern = "\\1"


=====================================
PKGBUILD
=====================================
@@ -50,7 +50,8 @@ depends_x86_64=(
   lib32-vulkan-icd-loader
 )
 optdepends=('steam-native-runtime: steam native runtime support')
-source=(https://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${pkgver}{.tar.gz,.dsc}
+# the beta directory is a superset of stable and also contains the stable 
releases
+source=(https://repo.steampowered.com/${pkgname}/archive/stable/${pkgname}_${pkgver}{.tar.gz,.dsc}
         steam-runtime.sh)
 
sha512sums=('adbb89f3af069d9ff417ca7789a3d275e6485212ec8e08a4b2d110a2f370fc6d1a564895ba58b0548ea1521ee90029a4bb397ef86f29e093907abd562f65d07f'
             
'8cab6ca49601936be3edfe334e438654861d728c330bf268a7b8c2f82bb3e148c040c464f9af948d10383714300dd87e20605dc8cb382059be465006953f0352'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/steam/-/compare/969b675dceb08da5e6c4afb0fa366ad8242322fc...8ec837464f549f61fd32504e8498c3fa96cde03f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/steam/-/compare/969b675dceb08da5e6c4afb0fa366ad8242322fc...8ec837464f549f61fd32504e8498c3fa96cde03f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to