This commit is contained in:
Marco Rubin 2023-02-09 12:09:31 +01:00
parent 29042c1c71
commit 198dc778c5
2 changed files with 10 additions and 12 deletions

View file

@ -1,7 +1,7 @@
pkgbase = ryujinx pkgbase = ryujinx
pkgdesc = Experimental Nintendo Switch Emulator written in C# pkgdesc = Experimental Nintendo Switch Emulator written in C#
pkgver = 1.1.614 pkgver = 1.1.614
pkgrel = 1 pkgrel = 2
url = https://github.com/Ryujinx/Ryujinx url = https://github.com/Ryujinx/Ryujinx
arch = x86_64 arch = x86_64
license = MIT license = MIT
@ -12,8 +12,6 @@ pkgbase = ryujinx
conflicts = Ryujinx conflicts = Ryujinx
options = !strip options = !strip
source = git+https://github.com/Ryujinx/Ryujinx#commit=5f38086f9494a4ffbcb4b0ce4b7727ad8ac18b3e source = git+https://github.com/Ryujinx/Ryujinx#commit=5f38086f9494a4ffbcb4b0ce4b7727ad8ac18b3e
source = https://github.com/Ryujinx/Ryujinx/wiki/Changelog
b2sums = SKIP
b2sums = SKIP b2sums = SKIP
pkgname = ryujinx pkgname = ryujinx

View file

@ -4,7 +4,7 @@ _name=Ryujinx
pkgname=ryujinx pkgname=ryujinx
pkgver=1.1.614 pkgver=1.1.614
_commit=5f38086f9494a4ffbcb4b0ce4b7727ad8ac18b3e _commit=5f38086f9494a4ffbcb4b0ce4b7727ad8ac18b3e
pkgrel=1 pkgrel=2
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"
@ -14,15 +14,15 @@ makedepends=('dotnet-sdk' 'git')
provides=($_name) provides=($_name)
conflicts=($_name) conflicts=($_name)
options=(!strip) options=(!strip)
source=("git+$url#commit=$_commit" "$url/wiki/Changelog") source=("git+$url#commit=$_commit")
b2sums=('SKIP' 'SKIP') b2sums=('SKIP')
pkgver() { # pkgver() {
cd $_name # cd $_name
_commit_msg=$(git log -1 --pretty=%B | awk '{$NF=""}1') # remove PR number in parentheses # # changelog is $url/wiki/Changelog, needs python-html2text
# Changelog is $url/wiki/Changelog # _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}' # html2text ../Changelog | grep -B 4 "${_commit_msg::length - 1}" | head -n 1 | awk '{print $2}'
} # }
build() { build() {
cd $_name cd $_name