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

View file

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