summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilrain2020-08-24 09:35:48 +0200
committerGilrain2020-08-24 09:35:48 +0200
commit060204ea75f61fec5bf986b3a0852c517e35d859 (patch)
tree6892fd66fa1ed5ec1f4dee9c1031685b559128e7
parent9a7dc0e02d765fd39349adafb688254d6b90ab2a (diff)
downloadaur-asf-ui-git.tar.gz
fix pkgver() wrong path
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 743711a0e1b7..4b7ba5ac5042 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = asf-ui-git
pkgdesc = Standalone web interface for ASF.
- pkgver = r1030.e4b02e9
+ pkgver = r1262.6e7611d
pkgrel = 1
url = https://github.com/JustArchiNET/ArchiSteamFarm
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index ee40d1bbc2a7..7db51f17b9a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Lucki
pkgname="asf-ui-git"
-pkgver=r1030.e4b02e9
+pkgver=r1262.6e7611d
pkgrel=1
pkgdesc="Standalone web interface for ASF."
arch=('any')
@@ -15,7 +15,7 @@ source=("asf-ui::git+https://github.com/JustArchiNET/ASF-ui.git")
sha256sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd asf-ui
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"