This commit is contained in:
Marco Rubin 2022-12-30 10:01:47 +01:00
parent e7ef5926c1
commit 0e8dd28e9d
2 changed files with 15 additions and 19 deletions

View file

@ -1,20 +1,17 @@
pkgbase = ryujinx pkgbase = ryujinx
pkgdesc = Experimental Nintendo Switch Emulator written in C# pkgdesc = Experimental Nintendo Switch Emulator written in C#
pkgver = 1.1.458 pkgver = 1.1.500
pkgrel = 2 pkgrel = 1
url = https://github.com/Ryujinx/Ryujinx url = https://github.com/Ryujinx/Ryujinx
arch = x86_64 arch = x86_64
license = MIT license = MIT
makedepends = dotnet-sdk makedepends = dotnet-sdk
makedepends = git makedepends = git
makedepends = html2text
depends = dotnet-runtime depends = dotnet-runtime
provides = Ryujinx provides = Ryujinx
conflicts = Ryujinx conflicts = Ryujinx
options = !strip options = !strip
source = git+https://github.com/Ryujinx/Ryujinx#commit=459c4caebac0bc16c04467d9dcd2ef7a9fc0bd92 source = git+https://github.com/Ryujinx/Ryujinx#commit=2b23463daa01226c5569d8e61d1d0959570354cf
source = https://github.com/Ryujinx/Ryujinx/wiki/Changelog
b2sums = SKIP
b2sums = SKIP b2sums = SKIP
pkgname = ryujinx pkgname = ryujinx

View file

@ -2,28 +2,27 @@
_name=Ryujinx _name=Ryujinx
pkgname=ryujinx pkgname=ryujinx
pkgver=1.1.458 pkgver=1.1.500
_commit=459c4caebac0bc16c04467d9dcd2ef7a9fc0bd92 _commit=2b23463daa01226c5569d8e61d1d0959570354cf
pkgrel=2 pkgrel=1
pkgdesc="Experimental Nintendo Switch Emulator written in C#" pkgdesc="Experimental Nintendo Switch Emulator written in C#"
arch=(x86_64) arch=(x86_64)
url="https://github.com/Ryujinx/Ryujinx" url="https://github.com/Ryujinx/Ryujinx"
license=('MIT') license=('MIT')
depends=('dotnet-runtime') depends=('dotnet-runtime')
makedepends=('dotnet-sdk' 'git' 'html2text') makedepends=('dotnet-sdk' 'git')
provides=($_name) provides=($_name)
conflicts=($_name) conflicts=($_name)
options=(!strip) options=(!strip)
source=("git+$url#commit=$_commit" source=("git+$url#commit=$_commit")
"$url/wiki/Changelog") b2sums=('SKIP')
b2sums=('SKIP'
'SKIP')
pkgver() { # pkgver() {
cd $_name # cd $_name
_commit_msg=$(git log -1 --pretty=%B | awk '{$NF=""}1') # remove PR number in parentheses # _commit_msg=$(git log -1 --pretty=%B | awk '{$NF=""}1') # remove PR number in parentheses
html2text ../Changelog | grep -B 4 "${_commit_msg::length - 1}" | head -n 1 | awk '{print $2}' # # Changelog is $url/wiki/Changelog
} # html2text ../Changelog | grep -B 4 "${_commit_msg::length - 1}" | head -n 1 | awk '{print $2}'
# }
build() { build() {
cd $_name cd $_name