25 lines
1.3 KiB
Bash
25 lines
1.3 KiB
Bash
# Contributor: Linux Gamers <linuxgamers@protonmail.com>
|
|
_version=20210712-ac552d5f1
|
|
pkgname=yuzu-mainline-bin
|
|
provides=('yuzu' 'yuzu-cmd')
|
|
conflicts=('yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
|
|
pkgver=0.685
|
|
pkgrel=1
|
|
pkgdesc="Nintendo Switch emulator - mainline branch"
|
|
arch=('x86_64')
|
|
url="https://github.com/yuzu-emu/yuzu-mainline"
|
|
license=('GPL2')
|
|
depends=('qt5-base' 'ffmpeg')
|
|
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=('c2fa92b320fd226a08b47ab2c9a4f462c188b88f07e9560c191e7fc129d18e5be0c508bd92f2c1b0b1249ff096a2392a7514ec4e4cdff565832dae0a2e5b55cd'
|
|
'8e9f442436bd5f89a99c902960b51a3dd124ba17119422cca1ae792da0bcf3c757862bc88cb3d229b1f6a3b8b36c73f47f2c7266a11f91ebb38265777a2ba6b3'
|
|
'0b2383b87abbb80a26a7926b5b64121ec0399832aee474ebfdb9f2b001fee6cf4b90d0a8625028f05273e95e2c94f692291a98d769fac5a1f2ad598e168811a1')
|
|
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"
|
|
}
|