summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandr Epaneshnikov2019-11-30 16:53:54 +0300
committerAlexandr Epaneshnikov2019-11-30 16:53:54 +0300
commit63d771cf7b75744519a326028feb7d20ec7843f1 (patch)
tree9ac6956c86ff7fe26b5cb15400dddd19d8aeab10
parent015bd014eff24e0d1549979ddd574c6cb2d9b8e8 (diff)
downloadaur-63d771cf7b75744519a326028feb7d20ec7843f1.tar.gz
update pkgver() function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d7c57d5099..f1bae494979 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = orca-git
pkgdesc = Screen reader for individuals who are blind or visually impaired (development version)
- pkgver = 3_31_4.r2.g95154f3a9
+ pkgver = 3.34.0.r108.ga6ddd2dd0
pkgrel = 1
url = https://wiki.gnome.org/Projects/Orca
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 2d9b6579b3c..790e97a3954 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=orca-git
-pkgver=3_31_4.r2.g95154f3a9
+pkgver=3.34.0.r108.ga6ddd2dd0
pkgrel=1
pkgdesc="Screen reader for individuals who are blind or visually impaired (development version)"
arch=(any)
@@ -32,8 +32,8 @@ md5sums=('SKIP')
pkgver() {
cd ${pkgname}
- # cutting off 'ORCA_' prefix that presents in the git tag
- printf "%s" "$(git describe --long | sed 's/^ORCA_//;s/\([^-]*-g\)/r\1/;s/-/./g')"
+ # cutting off 'ORCA_' prefix that presents in the git tag
+ git describe --long | sed 's/^ORCA_//;s/\([^-]*-g\)/r\1/;s/_/-/g;s/-/./g'
}
build() {