summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-05-06 12:18:09 -0600
committerMark Wagie2020-05-06 12:18:09 -0600
commitddfd7d8ae6c7f09b399909168d6eada972b3f851 (patch)
tree5a58e6a88b318ee9247af40ad7cb1de1ed153b8f
parentd860a7c5946f0426a46673538156593970ae30cd (diff)
downloadaur-ddfd7d8ae6c7f09b399909168d6eada972b3f851.tar.gz
adjust pkgver() one more time
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d6972b9b6ce..5fba4c76644 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = guiscrcpy-git
pkgdesc = Open Source GUI based Android Screen Mirroring System
- pkgver = 3.7.post115.dev.g53ccc3a
+ pkgver = 3.7.r133.g13adb97
pkgrel = 1
epoch = 1
url = https://guiscrcpy.github.io
diff --git a/PKGBUILD b/PKGBUILD
index eb08dc60ed2..f90a76bfa5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=guiscrcpy-git
-pkgver=3.7.post115.dev.g53ccc3a
+pkgver=3.7.r133.g13adb97
pkgrel=1
epoch=1
pkgdesc="Open Source GUI based Android Screen Mirroring System"
@@ -18,8 +18,9 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "%s.g%s" "$(grep -oP "(?<=version=').*(?=')" setup.py)" \
- "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+# printf "%s.g%s" "$(grep -oP "(?<=version=').*(?=')" setup.py)" \
+# "$(git rev-parse --short HEAD)"
}
prepare() {