This commit is contained in:
xiota 2024-04-19 06:45:43 +00:00
parent dc9a750a38
commit e1a995dbe0
2 changed files with 12 additions and 12 deletions

View file

@ -1,16 +1,16 @@
pkgbase = ryujinx pkgbase = ryujinx
pkgdesc = Experimental Nintendo Switch Emulator written in C# pkgdesc = Experimental Nintendo Switch Emulator written in C#
pkgver = 1.1.1244 pkgver = 1.1.1284
pkgrel = 1 pkgrel = 1
url = https://github.com/Ryujinx/Ryujinx url = https://github.com/Ryujinx/Ryujinx
install = ryujinx.install install = ryujinx.install
arch = x86_64 arch = x86_64
license = MIT license = MIT
makedepends = desktop-file-utils makedepends = desktop-file-utils
makedepends = dotnet-sdk>=8.0.3.sdk202 makedepends = dotnet-sdk>=8.0.4.sdk204
options = !strip options = !strip
options = !debug options = !debug
source = ryujinx-1.1.1244.tar.gz::https://github.com/Ryujinx/Ryujinx/archive/1.1.1244.tar.gz source = ryujinx-1.1.1284.tar.gz::https://github.com/Ryujinx/Ryujinx/archive/1.1.1284.tar.gz
sha256sums = SKIP sha256sums = SKIP
pkgname = ryujinx pkgname = ryujinx

View file

@ -2,7 +2,7 @@
# Contributor: Marco Rubin <marco.rubin@protonmail.com> # Contributor: Marco Rubin <marco.rubin@protonmail.com>
## options ## options
if [ -n "$_srcinfo" ] || [ -n "$_pkgver" ] ; then if [ -n "$_srcinfo" ] || [ -n "$_pkgver" ]; then
: ${_autoupdate:=false} : ${_autoupdate:=false}
else else
: ${_autoupdate:=true} : ${_autoupdate:=true}
@ -16,7 +16,7 @@ unset _pkgtype
## basic info ## basic info
_pkgname="ryujinx" _pkgname="ryujinx"
pkgname="$_pkgname${_pkgtype:-}" pkgname="$_pkgname${_pkgtype:-}"
pkgver=1.1.1244 pkgver=1.1.1284
pkgrel=1 pkgrel=1
pkgdesc="Experimental Nintendo Switch Emulator written in C#" pkgdesc="Experimental Nintendo Switch Emulator written in C#"
url="https://github.com/Ryujinx/Ryujinx" url="https://github.com/Ryujinx/Ryujinx"
@ -27,13 +27,13 @@ arch=(x86_64)
_main_package() { _main_package() {
makedepends=( makedepends=(
'desktop-file-utils' 'desktop-file-utils'
'dotnet-sdk>=8.0.3.sdk202' # AUR: dotnet-core-bin 'dotnet-sdk>=8.0.4.sdk204' # AUR: dotnet-core-bin
) )
options=('!strip' '!debug') options=('!strip' '!debug')
install="$_pkgname.install" install="$_pkgname.install"
if [ "${_build_git::1}" != "t" ] ; then if [ "${_build_git::1}" != "t" ]; then
_main_stable _main_stable
else else
_main_git _main_git
@ -68,7 +68,7 @@ _main_git() {
pkgver() { pkgver() {
cd "$_pkgsrc" cd "$_pkgsrc"
git describe --long --tags --abbrev=8 --exclude='*[a-zA-Z][a-zA-Z]*' \ git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g' | sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
} }
} }
@ -110,10 +110,10 @@ package() {
ln -s "/opt/ryujinx/Ryujinx.Gtk3" "$pkgdir/usr/bin/ryujinx.gtk" ln -s "/opt/ryujinx/Ryujinx.Gtk3" "$pkgdir/usr/bin/ryujinx.gtk"
# .desktop # .desktop
install -Dm644 distribution/linux/Ryujinx.desktop "$pkgdir/usr/share/applications/ryujinx.desktop" install -Dm644 distribution/linux/Ryujinx.desktop "$pkgdir/usr/share/applications/ryujinx.desktop"
# icon # icon
install -Dm644 distribution/misc/Logo.svg "$pkgdir/usr/share/pixmaps/ryujinx.svg" install -Dm644 distribution/misc/Logo.svg "$pkgdir/usr/share/pixmaps/ryujinx.svg"
# mimetype # mimetype
install -Dm644 distribution/linux/mime/Ryujinx.xml "$pkgdir/usr/share/mime/packages/ryujinx.xml" install -Dm644 distribution/linux/mime/Ryujinx.xml "$pkgdir/usr/share/mime/packages/ryujinx.xml"
@ -141,7 +141,7 @@ package() {
_update_version() { _update_version() {
: ${_pkgver:=${pkgver%%.r*}} : ${_pkgver:=${pkgver%%.r*}}
if [[ "${_autoupdate::1}" != "t" ]] ; then if [[ "${_autoupdate::1}" != "t" ]]; then
return return
fi fi
@ -155,7 +155,7 @@ _update_version() {
local _pkgver_new="${_tag#v}" local _pkgver_new="${_tag#v}"
# update _pkgver # update _pkgver
if [ "$_pkgver" != "${_pkgver_new:?}" ] ; then if [ "$_pkgver" != "${_pkgver_new:?}" ]; then
_pkgver="${_pkgver_new:?}" _pkgver="${_pkgver_new:?}"
fi fi
} }