osu-bin/2024.412.1: rename from osu-lazer-bin, update
This commit is contained in:
parent
bdb72b8fb4
commit
d12231326a
32
packages/osu-bin/.SRCINFO
Normal file
32
packages/osu-bin/.SRCINFO
Normal file
@ -0,0 +1,32 @@
|
||||
pkgbase = osu-bin
|
||||
pkgdesc = A free-to-win rhythm game. Rhythm is just a click away!
|
||||
pkgver = 2024.412.1
|
||||
pkgrel = 1
|
||||
url = https://osu.ppy.sh/
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
license = CC-BY-NC-4.0
|
||||
depends = bash
|
||||
depends = ffmpeg4.4
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = lttng-ust2.12
|
||||
depends = sdl2
|
||||
depends = zlib
|
||||
provides = osu
|
||||
provides = osu-lazer
|
||||
conflicts = osu
|
||||
conflicts = osu-lazer
|
||||
replaces = osu-lazer
|
||||
source = osu-2024.412.1.AppImage::https://github.com/ppy/osu/releases/download/2024.412.1/osu.AppImage
|
||||
source = osu-resources-LICENCE-2024.410.0.md::https://github.com/ppy/osu-resources/raw/2024.410.0/LICENCE.md
|
||||
source = osu.bash
|
||||
source = osu.desktop
|
||||
source = osu.xml
|
||||
b2sums = 72b4031eae04765797b4a9395c01418ac3b3d16d90472dc489c240218f1f8778ffe7291daeca8dca79d9f831be7940005b57d5b0e17344d79def1e2d0b1c3a22
|
||||
b2sums = 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff
|
||||
b2sums = 63c4f291210a06d1116689ba073fd370ab72db8bd951cf445da447d39a2c05492cebd37c293bf72519e6c86efb97600a9ac146d31ba29b8b6543cc50bcb9c6e9
|
||||
b2sums = c2562cacd36b07727e8d40fd413f29c5a935f35dd0fa0943a934844b30c4aca80d527ac8a6b40d7366e039760903cdb6cdd72e1e6354271ad359517df87550ff
|
||||
b2sums = 738e9f7a8a0e9e1871b682f15e72714b9c1c53a21328495b4588172dfae810828cc8df1b5a85e66a6058bd5b6a1fd059932f0304a8a5afda2992f27809257001
|
||||
|
||||
pkgname = osu-bin
|
1
packages/osu-bin/.gitignore
vendored
Normal file
1
packages/osu-bin/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
osu-resources-LICENCE-*.md
|
65
packages/osu-bin/PKGBUILD
Normal file
65
packages/osu-bin/PKGBUILD
Normal file
@ -0,0 +1,65 @@
|
||||
# Maintainer: Puqns67 <me@puqns67.icu>
|
||||
# Contributor: David Husička <contact@bydave.net>
|
||||
# Contributor: Tyler Nelson <neo@cybercat.cc>
|
||||
# Contributor: Tuhana GAYRETLİ <tuhana at tuta dot io>
|
||||
# Contributor: Quenten Schoonderwoerd <ellie at nicecock dot eu>
|
||||
# Contributor: Antti <antti@antti.codes>
|
||||
|
||||
# This PKGBUILD is base on the AUR repo osu-lazer-bin, from these contributors above
|
||||
|
||||
_appname='osu'
|
||||
_appver=2024.412.1
|
||||
_resname='osu-resources'
|
||||
_resver=2024.410.0
|
||||
|
||||
pkgname="${_appname}-bin"
|
||||
pkgver="${_appver}"
|
||||
pkgrel=1
|
||||
pkgdesc="A free-to-win rhythm game. Rhythm is just a click away!"
|
||||
arch=('x86_64')
|
||||
url='https://osu.ppy.sh/'
|
||||
license=('MIT' 'CC-BY-NC-4.0')
|
||||
depends=('bash' 'ffmpeg4.4' 'gcc-libs' 'glibc' 'lttng-ust2.12' 'sdl2' 'zlib')
|
||||
provides=("${_appname}" 'osu-lazer')
|
||||
conflicts=("${_appname}" 'osu-lazer')
|
||||
replaces=('osu-lazer')
|
||||
|
||||
source=("${_appname}-${_appver}.AppImage"::"https://github.com/ppy/osu/releases/download/${_appver}/osu.AppImage"
|
||||
"${_resname}-LICENCE-${_resver}.md"::"https://github.com/ppy/osu-resources/raw/${_resver}/LICENCE.md"
|
||||
"${_appname}.bash"
|
||||
"${_appname}.desktop"
|
||||
"${_appname}.xml")
|
||||
|
||||
b2sums=('72b4031eae04765797b4a9395c01418ac3b3d16d90472dc489c240218f1f8778ffe7291daeca8dca79d9f831be7940005b57d5b0e17344d79def1e2d0b1c3a22'
|
||||
'7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff'
|
||||
'63c4f291210a06d1116689ba073fd370ab72db8bd951cf445da447d39a2c05492cebd37c293bf72519e6c86efb97600a9ac146d31ba29b8b6543cc50bcb9c6e9'
|
||||
'c2562cacd36b07727e8d40fd413f29c5a935f35dd0fa0943a934844b30c4aca80d527ac8a6b40d7366e039760903cdb6cdd72e1e6354271ad359517df87550ff'
|
||||
'738e9f7a8a0e9e1871b682f15e72714b9c1c53a21328495b4588172dfae810828cc8df1b5a85e66a6058bd5b6a1fd059932f0304a8a5afda2992f27809257001')
|
||||
|
||||
prepare() {
|
||||
# Extract AppImage
|
||||
cd "${srcdir}"
|
||||
chmod +x "${srcdir}/${_appname}-${_appver}.AppImage"
|
||||
"${srcdir}/${_appname}-${_appver}.AppImage" --appimage-extract
|
||||
|
||||
# Use system libraries
|
||||
cd "${srcdir}/squashfs-root/usr/bin"
|
||||
rm -v lib{av*,SDL2}.so*
|
||||
}
|
||||
|
||||
package() {
|
||||
# Install osu and libraries
|
||||
install -dm755 "${pkgdir}/usr/lib"
|
||||
mv -v "${srcdir}/squashfs-root/usr/bin" "${pkgdir}/usr/lib/${_appname}"
|
||||
|
||||
# Install launch script
|
||||
install -Dm755 "${srcdir}/${_appname}.bash" "${pkgdir}/usr/bin/${_appname}"
|
||||
|
||||
# Install license file
|
||||
install -Dm644 "${srcdir}/${_resname}-LICENCE-${_resver}.md" "${pkgdir}/usr/share/licenses/${pkgname}/${_resname}-LICENCE-${_resver}.md"
|
||||
|
||||
# Install icon, desktop and mime files
|
||||
install -Dm644 "${srcdir}/squashfs-root/osu!.png" "${pkgdir}/usr/share/pixmaps/${_appname}.png"
|
||||
install -Dm644 "${srcdir}/${_appname}.desktop" "${pkgdir}/usr/share/applications/${_appname}.desktop"
|
||||
install -Dm644 "${srcdir}/${_appname}.xml" "${pkgdir}/usr/share/mime/packages/${_appname}.xml"
|
||||
}
|
2
packages/osu-bin/osu.bash
Executable file
2
packages/osu-bin/osu.bash
Executable file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/bash
|
||||
OSU_EXTERNAL_UPDATE_PROVIDER=true exec /usr/lib/osu/osu! "$@"
|
11
packages/osu-bin/osu.desktop
Normal file
11
packages/osu-bin/osu.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=osu!
|
||||
Icon=osu
|
||||
Comment=Rhythm is just a *click* away!
|
||||
MimeType=application/x-osu-beatmap;application/x-osu-skin;x-scheme-handler/osu;
|
||||
Exec=/usr/bin/osu %U
|
||||
Categories=Game;
|
||||
Terminal=false
|
||||
StartupWMClass=osu!
|
||||
StartupNotify=true
|
@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-osu-lazer-beatmap">
|
||||
<mime-type type="application/x-osu-beatmap">
|
||||
<comment>osu! Beatmap</comment>
|
||||
<comment xml:lang="zh">osu! 谱面</comment>
|
||||
<sub-class-of type="application/zip"/>
|
||||
<icon name="osu-lazer" />
|
||||
<icon name="osu" />
|
||||
<glob pattern="*.osz" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-osu-lazer-skin">
|
||||
<mime-type type="application/x-osu-skin">
|
||||
<comment>osu! Skin</comment>
|
||||
<comment xml:lang="zh">osu! 皮肤</comment>
|
||||
<sub-class-of type="application/zip"/>
|
||||
<icon name="osu-lazer" />
|
||||
<icon name="osu" />
|
||||
<glob pattern="*.osk" />
|
||||
</mime-type>
|
||||
</mime-info>
|
@ -1,26 +0,0 @@
|
||||
pkgbase = osu-lazer-bin
|
||||
pkgdesc = The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
pkgver = 2024.312.1
|
||||
pkgrel = 3
|
||||
url = https://osu.ppy.sh/
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
license = CC-BY-NC-4.0
|
||||
depends = bash
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = zlib
|
||||
provides = osu-lazer
|
||||
conflicts = osu-lazer
|
||||
source = osu-lazer-2024.312.1.AppImage::https://github.com/ppy/osu/releases/download/2024.312.1/osu.AppImage
|
||||
source = osu-resources_LICENCE.md::https://github.com/ppy/osu-resources/raw/master/LICENCE.md
|
||||
source = osu-lazer.bash
|
||||
source = osu-lazer.desktop
|
||||
source = osu-lazer.xml
|
||||
b2sums = b920870e64bfc11f6ec8202c27e4c5a44477c11a399f0781992a174f898914e35b9ac0124d2b1ae57de9e4ceae200613aba77f64e6210cd5bdb711eeb414fc90
|
||||
b2sums = 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff
|
||||
b2sums = 3d377020b6ac00d2a25ff3a9971b66791593d541a8cdca8e5eaeb815804dd6e4528eea8aa5969dc111e6a7e6940277c3a8f12b170be2a7669ffceebabbd6c0d6
|
||||
b2sums = 7730cd8b5d5d7fe362e5ccd3023ed4bedf099e851b41db0c75f6a6908375989c3f69900cdb80df2e42031fe9111bf52c4c9fb011a144e5738494996894474428
|
||||
b2sums = 5ba7f0bcfa2b96b638a19490af619511cea834aa0dfded0efd3262a244bd168fd3362ff3e92a62c6b1a97165b82d52cbf7a11076104fe374c292cc3879e8cb13
|
||||
|
||||
pkgname = osu-lazer-bin
|
1
packages/osu-lazer-bin/.gitignore
vendored
1
packages/osu-lazer-bin/.gitignore
vendored
@ -1 +0,0 @@
|
||||
osu-resources_LICENCE.md
|
@ -1,55 +0,0 @@
|
||||
# Maintainer: Puqns67 <me@puqns67.icu>
|
||||
# Contributor: David Husička <contact@bydave.net>
|
||||
# Contributor: Tyler Nelson <neo@cybercat.cc>
|
||||
# Contributor: Tuhana GAYRETLİ <tuhana at tuta dot io>
|
||||
# Contributor: Quenten Schoonderwoerd <ellie at nicecock dot eu>
|
||||
# Contributor: Antti <antti@antti.codes>
|
||||
|
||||
# This PKGBUILD is base on the AUR repo osu-lazer-bin, from these contributors above
|
||||
|
||||
_pkgname='osu-lazer'
|
||||
pkgname="${_pkgname}-bin"
|
||||
pkgver=2024.312.1
|
||||
pkgrel=3
|
||||
pkgdesc="The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew."
|
||||
arch=('x86_64')
|
||||
url='https://osu.ppy.sh/'
|
||||
license=('MIT' 'CC-BY-NC-4.0')
|
||||
depends=('bash' 'gcc-libs' 'glibc' 'zlib')
|
||||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
|
||||
source=("${_pkgname}-${pkgver}.AppImage"::"https://github.com/ppy/osu/releases/download/${pkgver}/osu.AppImage"
|
||||
'osu-resources_LICENCE.md'::'https://github.com/ppy/osu-resources/raw/master/LICENCE.md'
|
||||
'osu-lazer.bash'
|
||||
'osu-lazer.desktop'
|
||||
'osu-lazer.xml')
|
||||
|
||||
b2sums=('b920870e64bfc11f6ec8202c27e4c5a44477c11a399f0781992a174f898914e35b9ac0124d2b1ae57de9e4ceae200613aba77f64e6210cd5bdb711eeb414fc90'
|
||||
'7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff'
|
||||
'3d377020b6ac00d2a25ff3a9971b66791593d541a8cdca8e5eaeb815804dd6e4528eea8aa5969dc111e6a7e6940277c3a8f12b170be2a7669ffceebabbd6c0d6'
|
||||
'7730cd8b5d5d7fe362e5ccd3023ed4bedf099e851b41db0c75f6a6908375989c3f69900cdb80df2e42031fe9111bf52c4c9fb011a144e5738494996894474428'
|
||||
'5ba7f0bcfa2b96b638a19490af619511cea834aa0dfded0efd3262a244bd168fd3362ff3e92a62c6b1a97165b82d52cbf7a11076104fe374c292cc3879e8cb13')
|
||||
|
||||
prepare() {
|
||||
# Extract AppImage
|
||||
cd "${srcdir}"
|
||||
"${srcdir}/${_pkgname}-${pkgver}.AppImage" --appimage-extract
|
||||
}
|
||||
|
||||
package() {
|
||||
# Install osu-lazer and libraries
|
||||
install -dm755 "${pkgdir}/usr/lib"
|
||||
mv -v "${srcdir}/squashfs-root/usr/bin" "${pkgdir}/usr/lib/${_pkgname}"
|
||||
|
||||
# Install launch script
|
||||
install -Dm755 "${srcdir}/osu-lazer.bash" "${pkgdir}/usr/bin/${_pkgname}"
|
||||
|
||||
# Install license file
|
||||
install -Dm644 "${srcdir}/osu-resources_LICENCE.md" "${pkgdir}/usr/share/licenses/${pkgname}/osu-resources_LICENCE.md"
|
||||
|
||||
# Install icon, desktop and mime files
|
||||
install -Dm644 "${srcdir}/squashfs-root/osu!.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
|
||||
install -Dm644 "${srcdir}/osu-lazer.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
|
||||
install -Dm644 "${srcdir}/osu-lazer.xml" "${pkgdir}/usr/share/mime/packages/${_pkgname}.xml"
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/bash
|
||||
OSU_EXTERNAL_UPDATE_PROVIDER=true /usr/lib/osu-lazer/osu! "$@"
|
@ -1,11 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=osu!lazer
|
||||
Icon=osu-lazer
|
||||
Comment=Rhythm is just a *click* away!
|
||||
MimeType=application/x-osu-lazer-beatmap;application/x-osu-lazer-skin;x-scheme-handler/osu;
|
||||
Exec=/usr/bin/osu-lazer %U
|
||||
Categories=Game;
|
||||
Terminal=false
|
||||
StartupWMClass=osu!
|
||||
StartupNotify=true
|
Loading…
x
Reference in New Issue
Block a user