Skip to content

Commit

Permalink
add: osu-lazer-app
Browse files Browse the repository at this point in the history
  • Loading branch information
AozoraDev committed Sep 4, 2024
1 parent 00cc7dd commit c03b5f0
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ opera-beta-deb
opera-deb
opera-developer-deb
os-installer-git
osu-lazer-app
owofetch
pacget-git
paconvert-git
Expand Down
21 changes: 21 additions & 0 deletions packages/osu-lazer-app/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgbase = osu-lazer-app
pkgver = 2024.817.0
pkgdesc = The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
url = https://osu.ppy.sh
arch = amd64
depends = libfuse2
conflicts = osu-lazer
conflicts = osu-lazer-git
noextract = osu.AppImage
license = MIT
license = CC-BY-NC-4.0
source = osu-lazer-app-2024.817.0.AppImage::https://github.com/ppy/osu/releases/download/2024.817.0/osu.AppImage
source = icon.png::https://aur.archlinux.org/cgit/aur.git/plain/icon.png?h=osu-lazer-bin
source = osu-lazer::https://aur.archlinux.org/cgit/aur.git/plain/osu-lazer?h=osu-lazer-bin
source = osu-lazer.desktop::https://aur.archlinux.org/cgit/aur.git/plain/osu-lazer.desktop?h=osu-lazer-bin
sha256sums = 02bb83d17a09266dfe2d0f961f60aa29bfbb4bf5631ba62675686c1f9977fee3
sha256sums = 30cf4df3fd76006b08a0bcb6a325fb2fdcf6a4371f77001da3c38cbce871bd51
sha256sums = baeea5b234e65707a4e6a563eacac89063bf20047d64125cd1f26c3c52aae957
sha256sums = e08a76a780960fffbd63fed26df21f0e7846d9bc8b366bfdbb54b07bf543113e

pkgname = osu-lazer-app
2 changes: 2 additions & 0 deletions packages/osu-lazer-app/osu-lazer
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
env OSU_EXTERNAL_UPDATE_PROVIDER=1 /opt/osu-lazer/osu.AppImage "$@"
31 changes: 31 additions & 0 deletions packages/osu-lazer-app/osu-lazer-app.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pkgname="osu-lazer-app"
arch=("amd64")
pkgver="2024.817.0"
pkgdesc="The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew."
url="https://osu.ppy.sh"
license=("MIT" "CC-BY-NC-4.0")
depends=("libfuse2")
conflicts=("osu-lazer" "osu-lazer-git")
noextract=("osu.AppImage")
source=(
"${pkgname}-${pkgver}.AppImage::https://github.com/ppy/osu/releases/download/${pkgver}/osu.AppImage"
# Gotta use files from AUR until this pacscript pushed
"icon.png::https://aur.archlinux.org/cgit/aur.git/plain/icon.png?h=osu-lazer-bin"
"osu-lazer::https://aur.archlinux.org/cgit/aur.git/plain/osu-lazer?h=osu-lazer-bin"
"osu-lazer.desktop::https://aur.archlinux.org/cgit/aur.git/plain/osu-lazer.desktop?h=osu-lazer-bin"
)
sha256sums=(
"02bb83d17a09266dfe2d0f961f60aa29bfbb4bf5631ba62675686c1f9977fee3"
"30cf4df3fd76006b08a0bcb6a325fb2fdcf6a4371f77001da3c38cbce871bd51"
"baeea5b234e65707a4e6a563eacac89063bf20047d64125cd1f26c3c52aae957"
"e08a76a780960fffbd63fed26df21f0e7846d9bc8b366bfdbb54b07bf543113e"
)

package() {
cd "${srcdir}"

install -Dm755 "${pkgname}-${pkgver}.AppImage" "${pkgdir}/opt/osu-lazer/osu.AppImage"
install -Dm755 -t "${pkgdir}/usr/bin" osu-lazer
install -Dm644 "icon.png" "${pkgdir}/usr/share/pixmaps/osu-lazer.png"
install -Dm644 -t "${pkgdir}/usr/share/applications" osu-lazer.desktop
}
8 changes: 8 additions & 0 deletions packages/osu-lazer-app/osu-lazer.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=osu!lazer
MimeType=application/x-osu-skin-archive;application/x-osu-replay;application/x-osu-beatmap-archive;
Icon=/usr/share/pixmaps/osu-lazer.png
Comment=Open source free-to-win rhythm game
Exec=/usr/bin/osu-lazer
Categories=Game;
22 changes: 22 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -7168,6 +7168,28 @@ pkgbase = os-installer-git

pkgname = os-installer-git
---
pkgbase = osu-lazer-app
pkgver = 2024.817.0
pkgdesc = The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
url = https://osu.ppy.sh
arch = amd64
depends = libfuse2
conflicts = osu-lazer
conflicts = osu-lazer-git
noextract = osu.AppImage
license = MIT
license = CC-BY-NC-4.0
source = osu-lazer-app-2024.817.0.AppImage::https://github.com/ppy/osu/releases/download/2024.817.0/osu.AppImage
source = icon.png::https://aur.archlinux.org/cgit/aur.git/plain/icon.png?h=osu-lazer-bin
source = osu-lazer::https://aur.archlinux.org/cgit/aur.git/plain/osu-lazer?h=osu-lazer-bin
source = osu-lazer.desktop::https://aur.archlinux.org/cgit/aur.git/plain/osu-lazer.desktop?h=osu-lazer-bin
sha256sums = 02bb83d17a09266dfe2d0f961f60aa29bfbb4bf5631ba62675686c1f9977fee3
sha256sums = 30cf4df3fd76006b08a0bcb6a325fb2fdcf6a4371f77001da3c38cbce871bd51
sha256sums = baeea5b234e65707a4e6a563eacac89063bf20047d64125cd1f26c3c52aae957
sha256sums = e08a76a780960fffbd63fed26df21f0e7846d9bc8b366bfdbb54b07bf543113e

pkgname = osu-lazer-app
---
pkgbase = owofetch
gives = owofetch
pkgver = 0.3.1
Expand Down

0 comments on commit c03b5f0

Please sign in to comment.