2022-11-29 18:36:07 +00:00
|
|
|
# Maintainer: xyzzy
|
|
|
|
|
|
|
|
pkgname=ryujinx-bin
|
2024-05-17 20:06:48 +00:00
|
|
|
pkgver=1.1.1315
|
2024-03-25 21:22:05 +00:00
|
|
|
pkgrel=1
|
2022-11-29 18:36:07 +00:00
|
|
|
pkgdesc='Experimental Nintendo Switch Emulator written in C# (master build channel release)'
|
|
|
|
arch=(x86_64)
|
|
|
|
url='https://github.com/Ryujinx/release-channel-master'
|
|
|
|
license=('MIT')
|
|
|
|
depends=('dotnet-runtime')
|
2023-04-25 11:02:46 +00:00
|
|
|
provides=(ryujinx)
|
|
|
|
conflicts=(ryujinx Ryujinx)
|
2024-03-25 19:57:47 +00:00
|
|
|
options=('!strip' '!debug')
|
2022-12-03 14:18:40 +00:00
|
|
|
source=("${url}/releases/download/${pkgver}/ryujinx-${pkgver}-linux_x64.tar.gz"
|
2023-01-08 10:02:50 +00:00
|
|
|
'https://raw.githubusercontent.com/Ryujinx/Ryujinx/master/distribution/linux/Ryujinx.desktop'
|
|
|
|
'https://raw.githubusercontent.com/Ryujinx/Ryujinx/master/distribution/misc/Logo.svg'
|
|
|
|
'https://raw.githubusercontent.com/Ryujinx/Ryujinx/master/distribution/linux/mime/Ryujinx.xml')
|
2022-12-03 14:18:40 +00:00
|
|
|
|
2024-05-17 20:06:48 +00:00
|
|
|
b2sums=('6550a9ff9760256d6715c024e3d3c697c106f9f3d64dccbabf0e279fab1078768ae6e033a8830ab6446499f318094107884eae4835a114b8e58e1bcc2497d332'
|
2024-02-07 16:25:38 +00:00
|
|
|
'aaf7e9ddc24bc0068d75a4136262ab2e7f669acda91b7abc66ac5c8d6332804af45b5f9eec43d1d5541dc8e7944001362fbb67bec873fffde496c6c46d6500fc'
|
2022-12-03 14:18:40 +00:00
|
|
|
'f96fe6146018fd869c55e413b2cc6cf12f17c5257af52df14f57978133792c7fb76e8526b15a5120dbf12a9fed7b8e4723a3ff9f2e45b613b10ee1017ba0b996'
|
2023-01-08 10:02:50 +00:00
|
|
|
'0002cccf2a3e9dec4b0646e8d50ed105dfd4544baf49ae4868cc2a0785839ab578171063b6149b54fee947a38d88bbd6552647f6c69c590acf8fd1b12835c67a')
|
2022-11-29 18:36:07 +00:00
|
|
|
|
|
|
|
package() {
|
2022-11-29 22:48:57 +00:00
|
|
|
mkdir --parents "${pkgdir}/opt"
|
|
|
|
cp --recursive "${srcdir}/publish" "${pkgdir}/opt/ryujinx"
|
2022-11-29 18:36:07 +00:00
|
|
|
chmod +x "${pkgdir}/opt/ryujinx/Ryujinx"
|
|
|
|
|
|
|
|
# create writable logs directory
|
|
|
|
install --directory --mode=777 "${pkgdir}/opt/ryujinx/Logs"
|
|
|
|
|
2022-11-29 22:48:57 +00:00
|
|
|
mkdir --parents "${pkgdir}/usr/bin"
|
|
|
|
ln --symbolic "/opt/ryujinx/Ryujinx" "${pkgdir}/usr/bin/Ryujinx"
|
2023-10-21 05:32:08 +00:00
|
|
|
ln --symbolic "/opt/ryujinx/Ryujinx.sh" "${pkgdir}/usr/bin/Ryujinx.sh"
|
2022-11-29 18:36:07 +00:00
|
|
|
|
2023-01-08 10:02:50 +00:00
|
|
|
install -D "${srcdir}/Ryujinx.desktop" "${pkgdir}/usr/share/applications/Ryujinx.desktop"
|
|
|
|
install -D "${srcdir}/Logo.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/Ryujinx.svg"
|
|
|
|
install -D "${srcdir}/Ryujinx.xml" "${pkgdir}/usr/share/mime/packages/Ryujinx.xml"
|
2022-11-29 18:36:07 +00:00
|
|
|
}
|