aur/PKGBUILD

30 lines
1.2 KiB
Bash
Raw Normal View History

2020-07-22 16:17:06 +02:00
# Maintainer: Linux Gamers <linuxgamers@protonmail.com>
_pkgname=yuzu-mainline
pkgname="${_pkgname}-bin"
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
2021-06-16 05:35:18 +02:00
_pkgver=633
2020-07-22 16:17:06 +02:00
pkgver="0.${_pkgver}"
2020-10-02 17:14:32 +02:00
pkgrel=1
2020-07-22 23:00:57 +02:00
pkgdesc="Yuzu emulator 'mainline' branch binaries for Arch Linux"
2020-10-01 19:40:00 +02:00
arch=('x86_64')
2020-07-22 16:17:06 +02:00
url="https://github.com/linux-gamers/arch-yuzu-mainline"
license=('GNU General Public License v2.0')
2020-09-10 19:25:23 +02:00
depends=('shared-mime-info' 'desktop-file-utils' 'sdl2' 'qt5-base' 'qt5-multimedia' 'qt5-tools' 'qt5-webengine' 'libxkbcommon-x11' 'libfdk-aac' 'fmt' 'libzip')
2020-07-22 16:17:06 +02:00
optdepends=('qt5-wayland: for Wayland support')
source=("${url}/archive/0-${_pkgver}.tar.gz")
2021-06-16 05:35:18 +02:00
sha512sums=('33c7603c066781fdabf7b7b0b56bcfbebdc3dfdabc862bd66b085333b9e42bbc5d7b0846391e5fa51ccb64e7df0421062d220208dcdf6dda45e2a88517d1fd13')
2020-07-22 16:17:06 +02:00
package() {
cd "${srcdir}/arch-${_pkgname}-0-${_pkgver}"
mkdir -p $pkgdir/usr/bin
2020-07-30 19:18:10 +02:00
mv dist/yuzu $pkgdir/usr/bin/
mv dist/yuzu-cmd $pkgdir/usr/bin/
2020-07-22 16:17:06 +02:00
mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
2020-07-30 19:18:10 +02:00
mv dist/yuzu.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/
2020-07-22 16:17:06 +02:00
mkdir -p $pkgdir/usr/share/applications
2020-07-30 19:18:10 +02:00
mv dist/yuzu.desktop $pkgdir/usr/share/applications/
2020-07-22 16:17:06 +02:00
}