summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Flament2018-12-18 02:46:54 +0100
committerDamien Flament2018-12-18 02:46:54 +0100
commit9d7aa121a1314bf91c7c9e7c5d9232ba5d2c4807 (patch)
treed4c866a79c626a43f3b70a423feca84baea9776a
parentca35772325d30baf30bc1b3ff671bb040f37cc7d (diff)
downloadaur-9d7aa121a1314bf91c7c9e7c5d9232ba5d2c4807.tar.gz
Updated version generation.
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d02dcb17ee0..0be3d91538e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgtitle='LibreCAD'
pkgname=librecad-git
-pkgver=2.2.0_rc1_91_g8604f171
+pkgver=2.2.0.rc1.r91.g8604f171
pkgrel=1
pkgdesc="A 2D CAD drawing tool based on the community edition of QCad."
arch=('x86_64')
@@ -25,7 +25,7 @@ function pkgver
{
cd "$_pkgtitle"
- git describe --tags | sed -e 's/-/_/g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
function build