diff options
author | Mark Wagie | 2020-04-23 13:31:46 -0600 |
---|---|---|
committer | Mark Wagie | 2020-04-23 13:31:46 -0600 |
commit | 0117b70c6c2c6d16500575796af02d4a1779e49c (patch) | |
tree | 293631d65bdb39cb3ff366306cab11ebdcc8fa5d | |
parent | c314a2cbf9f50902c53e3eda93c6d4d4e5ce64a4 (diff) | |
download | aur-0117b70c6c2c6d16500575796af02d4a1779e49c.tar.gz |
adjust pkgver function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = guiscrcpy-git pkgdesc = Open Source GUI based Android Screen Mirroring System - pkgver = 3.5.r11.g89d8b66 + pkgver = 3.7.continuous.r1.g3233144 pkgrel = 1 url = https://guiscrcpy.github.io arch = any @@ -1,6 +1,6 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=guiscrcpy-git -pkgver=3.5.r11.g89d8b66 +pkgver=3.7.continuous.r1.g3233144 pkgrel=1 pkgdesc="Open Source GUI based Android Screen Mirroring System" arch=('any') @@ -18,7 +18,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + printf 3.7.$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g') } prepare() { |