Fix conflict with the `osu` package

This commit is contained in:
David Husička 2021-03-27 12:42:48 +01:00
parent afb19539c9
commit 8f65625836
3 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
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 = 2021.323.0
pkgrel = 1
pkgrel = 2
url = https://osu.ppy.sh
arch = x86_64
license = MIT
@ -11,9 +11,7 @@ pkgbase = osu-lazer-bin
depends = libgl
depends = sdl2
depends = fuse2
provides = osu
provides = osu-lazer
conflicts = osu
conflicts = osu-lazer
noextract = osu-lazer-bin-2021.323.0.AppImage
options = !strip

View File

@ -2,7 +2,7 @@
pkgname=osu-lazer-bin
pkgver=2021.323.0
pkgrel=1
pkgrel=2
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"
@ -12,8 +12,8 @@ depends=(ffmpeg zlib libgl sdl2 fuse2)
makedepends=()
checkdepends=()
optdepends=()
provides=(osu osu-lazer)
conflicts=(osu osu-lazer)
provides=(osu-lazer)
conflicts=(osu-lazer)
replaces=()
backup=()
options=(!strip)
@ -40,6 +40,6 @@ package() {
install -Dm644 osu-lazer.desktop "${pkgdir}"/usr/share/applications/osu-lazer.desktop
# Install binary
install -Dm755 "${srcdir}"/"${pkgname}"-"${pkgver}".AppImage "${pkgdir}"/usr/bin/osu
install -Dm755 "${srcdir}"/"${pkgname}"-"${pkgver}".AppImage "${pkgdir}"/usr/bin/osu-lazer
}

View File

@ -3,4 +3,5 @@ Type=Application
Name=osu!lazer
Icon=/usr/share/pixmaps/osu-lazer.png
Comment=Open source free-to-win rhythm game
Exec=/usr/bin/osu
Exec=/usr/bin/osu-lazer
Categories=Game;