30 lines
No EOL
1.1 KiB
Bash
30 lines
No EOL
1.1 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=330
|
|
pkgver="0.${_pkgver}"
|
|
pkgrel=1
|
|
pkgdesc="Yuzu emulator 'mainline' branch binaries for Arch Linux"
|
|
arch=('any')
|
|
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' 'libxkbcommon-x11' 'libfdk-aac' 'fmt' 'libzip')
|
|
optdepends=('qt5-wayland: for Wayland support')
|
|
source=("${url}/archive/0-${_pkgver}.tar.gz")
|
|
sha512sums=('458c5fe9dc0e1cc119ebd3b21065681802a8e9f60c3fe4512ca15260afdfe6fa7d39f4bacc10bd0867d2d4fa134a666713e677761e1ef6ec104b9ad469e35210')
|
|
|
|
package() {
|
|
cd "${srcdir}/arch-${_pkgname}-0-${_pkgver}"
|
|
|
|
mkdir -p $pkgdir/usr/bin
|
|
mv yuzu $pkgdir/usr/bin/
|
|
mv yuzu-cmd $pkgdir/usr/bin/
|
|
|
|
mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
|
|
mv yuzu.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/
|
|
|
|
mkdir -p $pkgdir/usr/share/applications
|
|
mv yuzu.desktop $pkgdir/usr/share/applications/
|
|
} |