makedeb


yuzu-mainline-bin 0.1008-1


Nintendo Switch emulator - mainline branch

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for yuzu-mainline-bin.

# Maintainer: daci <dac1@fedora.email>
_version=20220506-9a00fab3a
pkgname=yuzu-mainline-bin
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu' 'yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
pkgver=0.1008
pkgrel=1
pkgdesc="Nintendo Switch emulator - mainline branch"
arch=('amd64')
url="https://github.com/yuzu-emu/yuzu-mainline"
license=('GPL2')
depends=('libopus0' 'hicolor-icon-theme')
optdepends=('libqt5waylandclient5: 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=('ce472721576688082f34cfb0507319c532368dd7574bac6d755bbbc897bd407cc64468a69aa7b4d0ac30bd022ba2b569aee7d7aef89f02c582a29b66bed3b925'
            'af6a1c7c39f6f133dc417225beb9c4e7e244258fa968740f14d88aafa7162d95b9463847037fc44ec974fe6d72c5d3aa3b49c80db5f2fe1a1d98bf1b27ba5bc2'
            '443b8557b6a120b7506b388aeb09777a69b9b8d4bf931843897b0ddf3932775e216b9c778a119d964708232ed492f2c1794d65b069667abe3cfc018b9321a55a')
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"
}