From 1b231e5efbbf9f76a9def2147ee3e451f5877dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Husi=C4=8Dka?= Date: Thu, 12 Nov 2020 19:44:47 +0100 Subject: [PATCH] Initial commit for version 2020.1109.0 --- .SRCINFO | 27 +++++++++++++++++++++++++++ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ osu-lazer.desktop | 6 ++++++ 3 files changed, 78 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 osu-lazer.desktop diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..018565f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +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 = 2020.1109.0 + pkgrel = 1 + url = https://osu.ppy.sh + arch = x86_64 + license = MIT + license = custom:CC-BY-NC 4.0 + depends = ffmpeg + depends = zlib + provides = osu + provides = osu-lazer + conflicts = osu + conflicts = osu-lazer + noextract = osu-lazer-bin-2020.1109.0.AppImage + options = !strip + source = osu-lazer-bin-2020.1109.0.AppImage::https://github.com/ppy/osu/releases/download/2020.1109.0/osu.AppImage + source = osu-lazer-bin.png::https://raw.githubusercontent.com/ppy/osu/master/assets/lazer.png + source = osu-lazer-bin-LICENCE.md::https://raw.githubusercontent.com/ppy/osu-resources/master/LICENCE.md + source = osu-lazer.desktop + sha256sums = 637c31495cb157c54fa8ceebc4d709846aafe3c757515dd9d46475942e44fbe9 + sha256sums = 36f73cfe0a84cd65a8bb54fcde5a01c419b134bee4a88cc92eb4f33236343a10 + sha256sums = 30b914824784b6ba6b30a44b22bea4f3c6fbc10f3f0e74fde5ca76a92ef57244 + sha256sums = f37168074db22cf8e898f08b3f67458e1708a8c4ae179fb14a916e74e12bec4e + +pkgname = osu-lazer-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4537236 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +## Maintainer: David Husička + +pkgname=osu-lazer-bin +pkgver=2020.1109.0 +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') +groups=() +depends=(ffmpeg zlib) +makedepends=() +checkdepends=() +optdepends=() +provides=(osu osu-lazer) +conflicts=(osu osu-lazer) +replaces=() +backup=() +options=(!strip) +install= +changelog= +source=("$pkgname-$pkgver.AppImage::https://github.com/ppy/osu/releases/download/$pkgver/osu.AppImage" + "$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") +sha256sums=("637c31495cb157c54fa8ceebc4d709846aafe3c757515dd9d46475942e44fbe9" + "36f73cfe0a84cd65a8bb54fcde5a01c419b134bee4a88cc92eb4f33236343a10" + "30b914824784b6ba6b30a44b22bea4f3c6fbc10f3f0e74fde5ca76a92ef57244" + "f37168074db22cf8e898f08b3f67458e1708a8c4ae179fb14a916e74e12bec4e") + +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 + install -Dm755 "${srcdir}"/"${pkgname}"-"${pkgver}".AppImage "${pkgdir}"/usr/bin/osu + +} diff --git a/osu-lazer.desktop b/osu-lazer.desktop new file mode 100644 index 0000000..ed4ada4 --- /dev/null +++ b/osu-lazer.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=osu!lazer +Icon=/usr/share/pixmaps/osu-lazer.png +Comment=Open source free-to-win rhythm game +Exec=/usr/bin/osu