aur/PKGBUILD

26 lines
1.3 KiB
Bash
Raw Normal View History

# Contributor: Linux Gamers <linuxgamers@protonmail.com>
2021-08-30 15:47:57 +02:00
_version=20210830-61926e608
pkgname=yuzu-mainline-bin
2020-07-22 16:17:06 +02:00
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
2021-08-30 15:47:57 +02:00
pkgver=0.733
2021-07-07 07:57:07 +02:00
pkgrel=1
pkgdesc="Nintendo Switch emulator - mainline branch"
2020-10-01 19:40:00 +02:00
arch=('x86_64')
url="https://github.com/yuzu-emu/yuzu-mainline"
license=('GPL2')
depends=('qt5-base' 'ffmpeg')
2020-07-22 16:17:06 +02:00
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")
2021-08-30 15:47:57 +02:00
sha512sums=('76724989884119bc4f75057e78d41f5e761e6ff2e841bfa3e46ce5bd0c3ddae95f28553d9d5376397135f9b5ad19d9c848e2a8a2f0972327eeb03dae70d5003c'
'8e9f442436bd5f89a99c902960b51a3dd124ba17119422cca1ae792da0bcf3c757862bc88cb3d229b1f6a3b8b36c73f47f2c7266a11f91ebb38265777a2ba6b3'
'0b2383b87abbb80a26a7926b5b64121ec0399832aee474ebfdb9f2b001fee6cf4b90d0a8625028f05273e95e2c94f692291a98d769fac5a1f2ad598e168811a1')
2020-07-22 16:17:06 +02:00
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"
}