From ace6109b33a2e52cc6272f3ccc429e4e9ef0436d Mon Sep 17 00:00:00 2001 From: Linux Gamers Date: Wed, 22 Jul 2020 11:17:06 -0300 Subject: [PATCH] 0.300-1 --- .SRCINFO | 27 +++++++++++++++++++++++++++ .gitignore | 2 ++ PKGBUILD | 30 ++++++++++++++++++++++++++++++ gensrc.sh | 2 ++ 4 files changed, 61 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD create mode 100755 gensrc.sh diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..6db01315cd5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = yuzu-mainline-bin + pkgdesc = Yuzu emulator binaries for Arch Linux + pkgver = 0.300 + pkgrel = 1 + url = https://github.com/linux-gamers/arch-yuzu-mainline + arch = any + license = GNU General Public License v2.0 + depends = shared-mime-info + depends = desktop-file-utils + depends = sdl2 + depends = qt5-base + depends = qt5-multimedia + depends = qt5-tools + depends = libxkbcommon-x11 + depends = libfdk-aac + depends = fmt + optdepends = qt5-wayland: for Wayland support + provides = yuzu + provides = yuzu-cmd + conflicts = yuzu-git + conflicts = yuzu-canary-git + conflicts = yuzu-mainline-git + source = https://github.com/linux-gamers/arch-yuzu-mainline/archive/0-300.tar.gz + sha512sums = 00756aaabdc9ce370b71bd5d156648fe6f066e71c74c0d21a68aee4a583637e4a43b686fa83d665fd365ca1d2dee7ee2ca503541b55eb5ebaf4dac614d546bbb + +pkgname = yuzu-mainline-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..8888f35b6dc --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.xz +*.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..48ff5aeecdc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Linux Gamers +_pkgname=yuzu-mainline +pkgname="${_pkgname}-bin" +provides=('yuzu' 'yuzu-cmd') +conflicts=('yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git') +_pkgver=300 +pkgver="0.${_pkgver}" +pkgrel=1 +pkgdesc="Yuzu emulator 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') +optdepends=('qt5-wayland: for Wayland support') +source=("${url}/archive/0-${_pkgver}.tar.gz") +sha512sums=('00756aaabdc9ce370b71bd5d156648fe6f066e71c74c0d21a68aee4a583637e4a43b686fa83d665fd365ca1d2dee7ee2ca503541b55eb5ebaf4dac614d546bbb') + +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/ +} \ No newline at end of file diff --git a/gensrc.sh b/gensrc.sh new file mode 100755 index 00000000000..44279c59076 --- /dev/null +++ b/gensrc.sh @@ -0,0 +1,2 @@ +makepkg --printsrcinfo > .SRCINFO +git add -f PKGBUILD .SRCINFO