summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-08-02 12:09:15 -0600
committerMark Wagie2020-08-02 12:09:15 -0600
commit56d1b62d438760f889f33933963ce12239056222 (patch)
tree328ef4c62fd262605b54ca54a8a0eb61146efea8
parent517faa8528f20a8477b06c8744e8a92ea5b6c998 (diff)
downloadaur-56d1b62d438760f889f33933963ce12239056222.tar.gz
adjust pkgver()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c01cd5a9f1..14f46759754 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = guiscrcpy-git
pkgdesc = Open Source GUI based Android Screen Mirroring System
- pkgver = 3.9.2.r77.g0373528
+ pkgver = 4.0.b1.g0373528
pkgrel = 1
url = https://guiscrcpy.github.io
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 8f8867cedd1..c3259eb84eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=guiscrcpy-git
-pkgver=3.9.2.r77.g0373528
+pkgver=4.0.b1.g0373528
pkgrel=1
pkgdesc="Open Source GUI based Android Screen Mirroring System"
arch=('any')
@@ -17,10 +17,10 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- git describe --long --tags --match "[0-9]*" | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+# git describe --long --tags --match "[0-9]*" | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
# git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
-# printf "%s.g%s" "$(grep -oP "(?<=version=').*(?=')" setup.py)" \
-# "$(git rev-parse --short HEAD)"
+ printf "%s.g%s" "$(grep -oP "(?<=version=').*(?=')" setup.py)" \
+ "$(git rev-parse --short HEAD)"
}
build() {