From 57b9d830b998f3976444e19d1bacd4c2e8a7579d Mon Sep 17 00:00:00 2001 From: Puqns67 Date: Mon, 9 Dec 2024 19:57:25 +0800 Subject: [PATCH] osu-bin/2024.1208.0-1: update --- packages/osu-bin/.SRCINFO | 10 +++++----- packages/osu-bin/PKGBUILD | 30 +++++++++++++++--------------- packages/osu-bin/osu.desktop | 7 ++++--- 3 files changed, 24 insertions(+), 23 deletions(-) diff --git a/packages/osu-bin/.SRCINFO b/packages/osu-bin/.SRCINFO index afd7b33..d5a62c3 100644 --- a/packages/osu-bin/.SRCINFO +++ b/packages/osu-bin/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = osu-bin pkgdesc = A free-to-win rhythm game. Rhythm is just a click away! - pkgver = 2024.1115.3 + pkgver = 2024.1208.0 pkgrel = 1 url = https://osu.ppy.sh/ arch = x86_64 @@ -23,15 +23,15 @@ pkgbase = osu-bin replaces = osu-lazer replaces = osu-lazer-bin options = !debug - source = osu-2024.1115.3.AppImage::https://github.com/ppy/osu/releases/download/2024.1115.3/osu.AppImage - source = osu-resources-LICENCE-2024.1106.0.md::https://github.com/ppy/osu-resources/raw/2024.1106.0/LICENCE.md + source = osu-2024.1208.0.AppImage::https://github.com/ppy/osu/releases/download/2024.1208.0/osu.AppImage + source = osu-resources-LICENCE-2024.1202.0.md::https://github.com/ppy/osu-resources/raw/2024.1202.0/LICENCE.md source = osu.bash source = osu.desktop source = osu.xml - b2sums = 3823474c93576f13bb43f70c7edf4bbaea5eca8cecaaaef4f0a04901cba9de76730b100ee83fbdd5891dc5be24e002b015754e84e69d0169b3cce20781457673 + b2sums = 390761984c0f0f1a7272dedecf699d2a76a7473a9320b031d04260e72b886fda7f890791cab92a4f406fd35b9d1116b9992098e0508518f4bd3a2f6bbc635622 b2sums = 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff b2sums = 57413ec0582254216196c52cddc7c4635c61efcd7a2b538dd61628960b7bc91c09160bd39d6383c69ae470d4d3b6a9a6b4fb67f457ac91996bbcfebb8762880b - b2sums = c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7 + b2sums = a8092d2bdd6b72b2072178ae620f0d16fe93f17061e3ef789cba2ca5eb236d7277b78ea4c7838053ebd08b025c2255ac6ce2f5587c34e8dde04fe4a04f2e1fa3 b2sums = 9e1f8221c14c1c7a3a7046321e850f92c12ff8782bf09e4f358b9a1912fd41791fec2eb56c81ae416b895ae8fd7176495d63da3c4a2f0f24eb97bd2e4e422b5f pkgname = osu-bin diff --git a/packages/osu-bin/PKGBUILD b/packages/osu-bin/PKGBUILD index 4f956b9..0a0801e 100644 --- a/packages/osu-bin/PKGBUILD +++ b/packages/osu-bin/PKGBUILD @@ -8,9 +8,9 @@ # This PKGBUILD is base on the AUR repo osu-lazer-bin, from these contributors above _appname='osu' -_appver='2024.1115.3' +_appver='2024.1208.0' _resname='osu-resources' -_resver='2024.1106.0' +_resver='2024.1202.0' pkgname="${_appname}-bin" pkgver="${_appver}" @@ -33,10 +33,10 @@ source=("${_appname}-${_appver}.AppImage"::"https://github.com/ppy/osu/releases/ "${_appname}.desktop" "${_appname}.xml") -b2sums=('3823474c93576f13bb43f70c7edf4bbaea5eca8cecaaaef4f0a04901cba9de76730b100ee83fbdd5891dc5be24e002b015754e84e69d0169b3cce20781457673' +b2sums=('390761984c0f0f1a7272dedecf699d2a76a7473a9320b031d04260e72b886fda7f890791cab92a4f406fd35b9d1116b9992098e0508518f4bd3a2f6bbc635622' '7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff' '57413ec0582254216196c52cddc7c4635c61efcd7a2b538dd61628960b7bc91c09160bd39d6383c69ae470d4d3b6a9a6b4fb67f457ac91996bbcfebb8762880b' - 'c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7' + 'a8092d2bdd6b72b2072178ae620f0d16fe93f17061e3ef789cba2ca5eb236d7277b78ea4c7838053ebd08b025c2255ac6ce2f5587c34e8dde04fe4a04f2e1fa3' '9e1f8221c14c1c7a3a7046321e850f92c12ff8782bf09e4f358b9a1912fd41791fec2eb56c81ae416b895ae8fd7176495d63da3c4a2f0f24eb97bd2e4e422b5f') prepare() { @@ -59,40 +59,40 @@ prepare() { mkdir -v "${srcdir}/icons" pushd "${srcdir}/icons" magick -verbose "${srcdir}/squashfs-root/usr/bin/lazer.ico" osu.png - cp -v "${srcdir}/squashfs-root/osu!.png" osu-origin.png - magick -verbose osu-origin.png -resize "128x128!" osu-downscaled@128.png - magick -verbose osu-origin.png -resize "512x512!" osu-downscaled@512.png - magick -verbose "${srcdir}/squashfs-root/usr/bin/beatmap.ico" beatmap.png eval $(magick identify -format "mv -v %f osu-%G;" osu*.png) eval $(magick identify -format "mv -v %f beatmap-%G;" beatmap*.png) + + for icon in $srcdir/squashfs-root/usr/share/icons/hicolor/*/apps/osu.png; do + mv -v "${icon}" "osu-$(echo "${icon}" | sed 's/^.*\/\([0-9]\{2,4\}x[0-9]\{2,4\}\)\/.*$/\1/g')" + done popd } package() { # Install osu and libraries - install -dm755 "${pkgdir}/usr/lib" + install -vdm755 "${pkgdir}/usr/lib" mv "${srcdir}/squashfs-root/usr/bin" "${pkgdir}/usr/lib/${_appname}" # Install launch script - install -Dm755 "${srcdir}/${_appname}.bash" "${pkgdir}/usr/bin/${_appname}" + install -vDm755 "${srcdir}/${_appname}.bash" "${pkgdir}/usr/bin/${_appname}" # Install license file - install -Dm644 "${srcdir}/${_resname}-LICENCE-${_resver}.md" "${pkgdir}/usr/share/licenses/${pkgname}/${_resname}-LICENCE.md" + install -vDm644 "${srcdir}/${_resname}-LICENCE-${_resver}.md" "${pkgdir}/usr/share/licenses/${pkgname}/${_resname}-LICENCE.md" # Install desktop and mime files - install -Dm644 "${srcdir}/${_appname}.desktop" "${pkgdir}/usr/share/applications/${_appname}.desktop" - install -Dm644 "${srcdir}/${_appname}.xml" "${pkgdir}/usr/share/mime/packages/${_appname}.xml" + install -vDm644 "${srcdir}/${_appname}.desktop" "${pkgdir}/usr/share/applications/${_appname}.desktop" + install -vDm644 "${srcdir}/${_appname}.xml" "${pkgdir}/usr/share/mime/packages/${_appname}.xml" # Install icons pushd "${srcdir}/icons" for icon in osu-*; do - install -Dm644 "${icon}" "${pkgdir}/usr/share/icons/hicolor/$(echo "${icon}" | cut -d- -f2 -)/apps/${_appname}.png" + install -vDm644 "${icon}" "${pkgdir}/usr/share/icons/hicolor/$(echo "${icon}" | cut -d- -f2 -)/apps/${_appname}.png" done for icon in beatmap-*; do - install -Dm644 "${icon}" "${pkgdir}/usr/share/icons/hicolor/$(echo "${icon}" | cut -d- -f2 -)/mimetypes/${_appname}-beatmap.png" + install -vDm644 "${icon}" "${pkgdir}/usr/share/icons/hicolor/$(echo "${icon}" | cut -d- -f2 -)/mimetypes/${_appname}-beatmap.png" done popd } diff --git a/packages/osu-bin/osu.desktop b/packages/osu-bin/osu.desktop index 786126d..2a9cdf0 100644 --- a/packages/osu-bin/osu.desktop +++ b/packages/osu-bin/osu.desktop @@ -2,10 +2,11 @@ Type=Application Name=osu! Icon=osu -Comment=Rhythm is just a *click* away! -MimeType=application/x-osu-beatmap;application/x-osu-beatmap-archive;application/x-osu-skin-archive;application/x-osu-storyboard;application/x-osu-replay;x-scheme-handler/osu; Exec=/usr/bin/osu %U +Comment=A free-to-win rhythm game. Rhythm is just a *click* away! Categories=Game; -Terminal=false +MimeType=application/x-osu-beatmap;application/x-osu-beatmap-archive;application/x-osu-skin-archive;application/x-osu-storyboard;application/x-osu-replay;x-scheme-handler/osu; +SingleMainWindow=true StartupWMClass=osu! StartupNotify=true +Terminal=false