aur/PKGBUILD

28 lines
1.4 KiB
Bash
Raw Normal View History

# Contributor: Linux Gamers <linuxgamers@protonmail.com>
2022-08-10 17:13:13 +02:00
_version=20220810-3a3aa3d70
pkgname=yuzu-mainline-bin
2020-07-22 16:17:06 +02:00
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu' 'yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
2022-08-10 17:13:13 +02:00
pkgver=0.1128
2022-08-01 16:16:44 +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=('libva' 'qt5-multimedia' 'hicolor-icon-theme')
2020-07-22 16:17:06 +02:00
optdepends=('qt5-wayland: for Wayland support')
options=(!strip)
source=("${url}/releases/download/mainline-${pkgver/./-}/yuzu-linux-${_version}.tar.xz"
# icon and desktop from upstream not included in sources
"yuzu.svg"
"yuzu.desktop")
2022-08-10 17:13:13 +02:00
sha512sums=('6a36486a59b4dbd6f21a893a1241c000f1aa1ef15f2e77bef0031bd9336bbcd514b3bf4b616d7afa0faf734eca733f6bd85134a3c3d102bbfe2fc715d35bab31'
'8e9f442436bd5f89a99c902960b51a3dd124ba17119422cca1ae792da0bcf3c757862bc88cb3d229b1f6a3b8b36c73f47f2c7266a11f91ebb38265777a2ba6b3'
'5cb469f178e0a22f249240f8ce26027ba87ebf8b57fd584917c35eb51860a1bc49090d6abaa5d5dc1dded13f78236f15f28cd0e2697f9e509286cb573e1a20c2')
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-mainline/yuzu-cmd -t "$pkgdir/usr/bin"
install -Dm755 yuzu-linux-mainline/yuzu-mainline.AppImage "$pkgdir/usr/bin/yuzu"
}