30 lines
No EOL
1.2 KiB
Bash
30 lines
No EOL
1.2 KiB
Bash
# 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')
|
|
_pkgver=440
|
|
pkgver="0.${_pkgver}"
|
|
pkgrel=1
|
|
pkgdesc="Yuzu emulator 'mainline' branch binaries for Arch Linux"
|
|
arch=('x86_64')
|
|
url="https://github.com/linux-gamers/arch-yuzu-mainline"
|
|
license=('GNU General Public License v2.0')
|
|
depends=('shared-mime-info' 'desktop-file-utils' 'sdl2' 'qt5-base' 'qt5-multimedia' 'qt5-tools' 'qt5-webengine' 'libxkbcommon-x11' 'libfdk-aac' 'fmt' 'libzip')
|
|
optdepends=('qt5-wayland: for Wayland support')
|
|
source=("${url}/archive/0-${_pkgver}.tar.gz")
|
|
sha512sums=('99359773d7c2b00f842e6430623a7bacbe17736b7ff4aaa56cb5e6a8fbb6e37c57cb7a833eaf9c9a3a8f8a8020e0b04c0e73f80a176874f98f812eae9b80f55b')
|
|
|
|
package() {
|
|
cd "${srcdir}/arch-${_pkgname}-0-${_pkgver}"
|
|
|
|
mkdir -p $pkgdir/usr/bin
|
|
mv dist/yuzu $pkgdir/usr/bin/
|
|
mv dist/yuzu-cmd $pkgdir/usr/bin/
|
|
|
|
mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
|
|
mv dist/yuzu.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/
|
|
|
|
mkdir -p $pkgdir/usr/share/applications
|
|
mv dist/yuzu.desktop $pkgdir/usr/share/applications/
|
|
} |