diff options
author | eugene | 2024-01-22 14:10:41 +0200 |
---|---|---|
committer | eugene | 2024-01-22 14:10:41 +0200 |
commit | 6161b2af5a4b58cf5af1dc48182c942bb859c8a2 (patch) | |
tree | 77c2bfe1552aaf5b492cc98e9436219921dcd6b1 | |
parent | e3998600c6fb0ee3cb478b23c053eb4afefed02f (diff) | |
download | aur-6161b2af5a4b58cf5af1dc48182c942bb859c8a2.tar.gz |
update pkgver to match application reported version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = duckstation-git pkgdesc = A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version) - pkgver = r6799.572ea80e + pkgver = 0.1.r6330.g56b452d pkgrel = 1 url = https://github.com/stenzek/duckstation arch = x86_64 @@ -2,7 +2,7 @@ pkgname=duckstation-git _pkgname=duckstation -pkgver=r6799.572ea80e +pkgver=0.1.r6330.g56b452d pkgdesc='A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)' pkgrel=1 arch=(x86_64 aarch64) @@ -53,7 +53,7 @@ sha256sums=('SKIP' pkgver() { cd "$srcdir/$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |