Files
packages/anda/system/wine/dev/update.rhai
T
Raboneko 904463c1b7 add: Terra WINE (#4857) (#4896)
* add: Terra WINE stack

* chore: Rename some stuff and conflicts

* chore: Rename Git

* Update winetricks-git.spec



* Update winetricks.spec



* Update and rename wine-devel.spec to wine-dev.spec



* fix: Weird ix86 stuff

* fix: I messed with Winetricks last can you tell

* fix: Requires

* fix: Files

* fix?: aarch64 fixes

* fix: Better dir fix

* fix: Even better

* fix: What

* fix: ?

* AaaaaAAAAA



* Update wine-stable.spec



* Update wine-dev.spec



* Update winetricks-git.spec



* Hopefully actually fix that jank

---------


(cherry picked from commit 3c1be11bfd)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
2025-05-19 19:41:01 +08:00

13 lines
565 B
Plaintext

let v = (gitlab_tag("gitlab.winehq.org", "5"));
v.crop(1);
rpm.global("ver", v); // Sometimes the development branch includes RC candidates
if rpm.changed () {
rpm.release();
// Only find versions ending in .x (point releases)
let matches = (find_all("[\\d.]+[.]x", get("https://dl.winehq.org/wine/source/")));
matches.dedup();
let s = sh(`echo ${matches} | sed 's/,//g' | sed 's/\[//g' | sed 's/\]//g' | sed 's/"//g' | tr ' ' '\n' | sort -nr | tr '\n' ' '`, #{"stdout": "piped"}).ctx.stdout;
s.truncate(4);
rpm.global("srcmajor", s);
}