mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit f02434cb88)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2025.816.0.lazer
|
||||
Version: 2025.816.0
|
||||
Release: 1%?dist
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
URL: https://osu.ppy.sh/
|
||||
License: MIT AND CC-BY-NC-4.0
|
||||
Requires: osu-mime fuse
|
||||
Source0: https://github.com/ppy/osu/releases/download/%{version}/osu.AppImage
|
||||
Source1: https://raw.githubusercontent.com/ppy/osu/%{version}/assets/lazer.png
|
||||
Source0: https://github.com/ppy/osu/releases/download/%{version}-lazer/osu.AppImage
|
||||
Source1: https://raw.githubusercontent.com/ppy/osu/%{version}-lazer/assets/lazer.png
|
||||
Source2: https://raw.githubusercontent.com/ppy/osu-resources/%{osuresver}/LICENCE.md
|
||||
Source3: osu-lazer.desktop
|
||||
Source4: osu-lazer-uri-handler.desktop
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
rpm.version(gh("ppy/osu"));
|
||||
rpm.define("osuresver", gh("ppy/osu-resources"));
|
||||
let v = gh("ppy/osu");
|
||||
if v.ends_with("-lazer") {
|
||||
v.pop(6);
|
||||
rpm.version(v);
|
||||
if rpm.changed() {
|
||||
rpm.define("osuresver", gh("ppy/osu-resources"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user