2022-04-20 16:54:29 +02:00
|
|
|
# Maintainer: David Husička <contact@bydave.net>
|
|
|
|
# Contributor: Tyler Nelson <neo@cybercat.cc>
|
2022-04-20 17:34:34 +02:00
|
|
|
# Contributor: Tuhana GAYRETLİ <tuhana at tuta dot io>
|
2022-05-01 10:15:54 +02:00
|
|
|
# Contributor: Quenten Schoonderwoerd <ellie at nicecock dot eu>
|
2020-11-12 19:44:47 +01:00
|
|
|
|
|
|
|
pkgname=osu-lazer-bin
|
2022-04-20 16:54:29 +02:00
|
|
|
_pkgname=${pkgname%-bin}
|
2022-05-09 12:38:19 +02:00
|
|
|
pkgver=2022.509.0
|
2022-05-09 20:40:35 +02:00
|
|
|
pkgrel=3
|
2020-11-12 19:44:47 +01:00
|
|
|
pkgdesc="The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew."
|
2022-05-04 20:56:06 +02:00
|
|
|
arch=(x86_64)
|
2020-11-12 19:44:47 +01:00
|
|
|
url="https://osu.ppy.sh"
|
2022-04-20 16:54:29 +02:00
|
|
|
license=("MIT" "custom:CC-BY-NC 4.0")
|
|
|
|
depends=(
|
|
|
|
zlib
|
|
|
|
libgl
|
|
|
|
fuse2
|
|
|
|
osu-mime
|
|
|
|
)
|
2021-03-27 12:42:48 +01:00
|
|
|
provides=(osu-lazer)
|
|
|
|
conflicts=(osu-lazer)
|
2020-11-12 19:44:47 +01:00
|
|
|
options=(!strip)
|
2022-04-20 16:54:29 +02:00
|
|
|
source=(
|
2022-04-20 22:34:19 +02:00
|
|
|
"$_pkgname-$pkgver.AppImage::https://github.com/ppy/osu/releases/download/$pkgver/osu.AppImage"
|
2022-04-20 16:54:29 +02:00
|
|
|
"https://raw.githubusercontent.com/ppy/osu/master/assets/lazer.png"
|
|
|
|
"https://raw.githubusercontent.com/ppy/osu-resources/master/LICENCE.md"
|
|
|
|
"osu-lazer.desktop"
|
2022-04-20 17:32:26 +02:00
|
|
|
"osu-lazer"
|
2022-04-20 16:54:29 +02:00
|
|
|
)
|
|
|
|
noextract=("osu.AppImage")
|
|
|
|
sha256sums=(
|
2022-05-09 12:38:19 +02:00
|
|
|
"3d38fdc01209feed6b2e9f82f028196e89a31d450e61368d74b089ce3af2000c"
|
|
|
|
"36f73cfe0a84cd65a8bb54fcde5a01c419b134bee4a88cc92eb4f33236343a10"
|
|
|
|
"30b914824784b6ba6b30a44b22bea4f3c6fbc10f3f0e74fde5ca76a92ef57244"
|
|
|
|
"43aba829341aa5542d7cedf9e95215d553a7db73a65f169f0de5a25aac75b801"
|
|
|
|
"baeea5b234e65707a4e6a563eacac89063bf20047d64125cd1f26c3c52aae957"
|
2022-05-04 20:56:06 +02:00
|
|
|
)
|
2020-11-12 19:44:47 +01:00
|
|
|
package() {
|
2022-04-20 16:54:29 +02:00
|
|
|
cd "$srcdir"
|
2020-11-12 19:44:47 +01:00
|
|
|
|
2022-04-20 17:32:26 +02:00
|
|
|
# Install binary and launch script
|
2022-04-20 22:34:19 +02:00
|
|
|
install -Dm755 "$_pkgname-$pkgver.AppImage" "$pkgdir/opt/osu-lazer/osu.AppImage"
|
2022-04-20 17:32:26 +02:00
|
|
|
install -Dm755 -t "$pkgdir/usr/bin" osu-lazer
|
2020-11-12 19:44:47 +01:00
|
|
|
|
2022-04-20 17:32:26 +02:00
|
|
|
# Install pixmap, desktop and license file
|
|
|
|
install -Dm644 lazer.png "$pkgdir/usr/share/pixmaps/osu-lazer.png"
|
2022-04-20 16:54:29 +02:00
|
|
|
install -Dm644 -t "$pkgdir/usr/share/applications" osu-lazer.desktop
|
2022-04-20 23:12:38 +02:00
|
|
|
install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
|
2020-11-12 19:44:47 +01:00
|
|
|
}
|