aur/PKGBUILD

30 lines
1.1 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')
2020-07-23 02:03:14 +02:00
_pkgver=317
2020-07-22 16:17:06 +02:00
pkgver="0.${_pkgver}"
pkgrel=1
2020-07-22 23:00:57 +02:00
pkgdesc="Yuzu emulator 'mainline' branch binaries for Arch Linux"
2020-07-22 16:17:06 +02:00
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')
optdepends=('qt5-wayland: for Wayland support')
source=("${url}/archive/0-${_pkgver}.tar.gz")
2020-07-23 02:03:14 +02:00
sha512sums=('27151c72b2a4ca117b671641552d426f21317ee73511726e9cdb19711c40b7f3b25491d018154e61ddba1a9129e28f7abd02683c581d4f876d269076c2f2027d')
2020-07-22 16:17:06 +02:00
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/
}