summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima2021-03-04 13:54:06 +0100
committerMatheus Gabriel Werny de Lima2021-03-04 13:54:06 +0100
commita4bb62c617eca9637d89fa5688078a7459f20f5e (patch)
treee0da7a44b7ef5ddc85accca1cd5e0baea9648864
parenta59c3bde484db3f0f126d3e5489cefa1a9b078e2 (diff)
downloadaur-a4bb62c617eca9637d89fa5688078a7459f20f5e.tar.gz
Bug fix version.
-rwxr-xr-xPKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b5f09764520..2ff1476eeaf 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ validpgpkeys=()
pkgver()
{
cd ${srcdir}/${_pkgname}/
- version=$(git describe --tags --abbrev=0)
+ version=$(git describe --tags --abbrev=0) | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
printf "%s" ${version:1}
}