aur/PKGBUILD
a821 906c76b731 Version 0.870
Update desktop file from upstream commit [1]. This add more file
associations.

[1] commit: 59c6f45e7a6b2920a3ac26d2951fa9798670335a
2022-01-05 18:37:05 +01:00

25 lines
1.3 KiB
Bash

# Contributor: Linux Gamers <linuxgamers@protonmail.com>
_version=20220105-43771282a
pkgname=yuzu-mainline-bin
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu' 'yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
pkgver=0.870
pkgrel=1
pkgdesc="Nintendo Switch emulator - mainline branch"
arch=('x86_64')
url="https://github.com/yuzu-emu/yuzu-mainline"
license=('GPL2')
depends=('qt5-base' 'opus' 'hicolor-icon-theme')
optdepends=('qt5-wayland: for Wayland support')
source=("${url}/releases/download/mainline-${pkgver/./-}/yuzu-linux-${_version}.tar.xz"
# icon and desktop from upstream not included in sources
"yuzu.svg"
"yuzu.desktop")
sha512sums=('3ff6d4a2c6c3d0ea774d93a4e72191ad63745ada821493736adc6e2ee4906d1b4465fc3ca9ecaea7b8bcc33c846df87a1adb435d2257dc5d4114b8159abf9fe2'
'8e9f442436bd5f89a99c902960b51a3dd124ba17119422cca1ae792da0bcf3c757862bc88cb3d229b1f6a3b8b36c73f47f2c7266a11f91ebb38265777a2ba6b3'
'5cb469f178e0a22f249240f8ce26027ba87ebf8b57fd584917c35eb51860a1bc49090d6abaa5d5dc1dded13f78236f15f28cd0e2697f9e509286cb573e1a20c2')
package() {
install -Dm644 yuzu.desktop -t "$pkgdir/usr/share/applications"
install -Dm644 yuzu.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"
install -Dm755 yuzu-linux-${_version}/yuzu{,-cmd} -t "$pkgdir/usr/bin"
}