# Maintainer: David Husička # Contributor: Tyler Nelson # Contributor: Tuhana GAYRETLİ # Contributor: Quenten Schoonderwoerd # Contributor: Antti pkgname=osu-lazer-bin _pkgname=${pkgname%-bin} pkgver=2024.412.1 pkgrel=1 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" "custom:CC-BY-NC 4.0") depends=( zlib libgl fuse2 osu-mime ) provides=(osu-lazer) conflicts=(osu-lazer) options=(!strip !debug) source=( "$_pkgname-$pkgver.AppImage::https://github.com/ppy/osu/releases/download/$pkgver/osu.AppImage" "icon.png" "https://raw.githubusercontent.com/ppy/osu-resources/master/LICENCE.md" "osu-lazer.desktop" "osu-lazer-uri-handler.desktop" "osu-lazer" ) noextract=("osu.AppImage") sha256sums=('f6630ff3e11ef2565c6889197dc6839a00ea7bfac5bc419cd35a06c05a6784e6' '3f574852464af31f21a9b24d5918668f990dfd7af32cc1218b7de9cdeab59155' '30b914824784b6ba6b30a44b22bea4f3c6fbc10f3f0e74fde5ca76a92ef57244' 'e08a76a780960fffbd63fed26df21f0e7846d9bc8b366bfdbb54b07bf543113e' '44e9e6a85c43086644f427b62d6d8b265c0e2ac1b5091d8ff0c626c58a91836d' 'baeea5b234e65707a4e6a563eacac89063bf20047d64125cd1f26c3c52aae957') package() { cd "$srcdir" # Install binary and launch script install -Dm755 "$_pkgname-$pkgver.AppImage" "$pkgdir/opt/osu-lazer/osu.AppImage" install -Dm755 -t "$pkgdir/usr/bin" osu-lazer # Install pixmap, desktop and license file install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/osu-lazer.png" install -Dm644 -t "$pkgdir/usr/share/applications" osu-lazer.desktop install -Dm644 -t "$pkgdir/usr/share/applications" osu-lazer-uri-handler.desktop install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENCE.md }