osu-lazer-bin/PKGBUILD

46 lines
1.6 KiB
Bash
Raw Normal View History

2020-11-12 19:44:47 +01:00
## Maintainer: David Husička <contact@bydave.net>
pkgname=osu-lazer-bin
2021-07-19 22:32:53 +02:00
pkgver=2021.720.0
2021-07-19 22:47:41 +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."
arch=('x86_64')
url="https://osu.ppy.sh"
license=('MIT' 'custom:CC-BY-NC 4.0')
groups=()
2021-02-07 13:24:50 +01:00
depends=(ffmpeg zlib libgl sdl2 fuse2)
2020-11-12 19:44:47 +01:00
makedepends=()
checkdepends=()
optdepends=()
2021-03-27 12:42:48 +01:00
provides=(osu-lazer)
conflicts=(osu-lazer)
2020-11-12 19:44:47 +01:00
replaces=()
backup=()
options=(!strip)
install=
changelog=
2021-07-19 22:47:41 +02:00
source=("$pkgname-$pkgver.AppImage::https://github.com/ppy/osu/releases/download/$pkgver/osu.AppImage"
2020-11-12 19:44:47 +01:00
"$pkgname.png::https://raw.githubusercontent.com/ppy/osu/master/assets/lazer.png"
"$pkgname-LICENCE.md::https://raw.githubusercontent.com/ppy/osu-resources/master/LICENCE.md"
"osu-lazer.desktop")
noextract=("$pkgname-$pkgver.AppImage")
2021-07-19 22:32:53 +02:00
sha256sums=("5d38ee2d24e30bc06de5d712aef7e13def918b45a70dffd42c90685fe087b146"
2020-11-12 19:44:47 +01:00
"36f73cfe0a84cd65a8bb54fcde5a01c419b134bee4a88cc92eb4f33236343a10"
"30b914824784b6ba6b30a44b22bea4f3c6fbc10f3f0e74fde5ca76a92ef57244"
2021-03-27 12:44:25 +01:00
"026a1db53b94cea60d30079e0050140096e3d1ef9b2a2035d8acafa04d9519d5")
2020-11-12 19:44:47 +01:00
package() {
# Install image
install -Dm644 "${srcdir}"/"${pkgname}".png "${pkgdir}"/usr/share/pixmaps/osu-lazer.png
# Install license
install -Dm644 "${srcdir}"/"${pkgname}"-LICENCE.md "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENCE.md
# Install desktop file
install -Dm644 osu-lazer.desktop "${pkgdir}"/usr/share/applications/osu-lazer.desktop
# Install binary
2021-03-27 12:42:48 +01:00
install -Dm755 "${srcdir}"/"${pkgname}"-"${pkgver}".AppImage "${pkgdir}"/usr/bin/osu-lazer
2020-11-12 19:44:47 +01:00
}