summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastiaan Lokhorst2019-08-04 00:05:40 +0200
committerSebastiaan Lokhorst2019-08-04 00:05:40 +0200
commit7562f5e6711fa0c48fa57597f2632009857c970b (patch)
treee8d9f36e5af0ceae1c24e95a291a0cc8c6d7e490 /PKGBUILD
parent17758fac7fafa1ae7d9b63e2d4fb8c5d6173f4c3 (diff)
downloadaur-7562f5e6711fa0c48fa57597f2632009857c970b.tar.gz
Fix pkgver to ignore weird upstream "Staging" tag
https://github.com/FreeCAD/FreeCAD/releases/tag/Staging
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 73a737e7b5d..39838a7a103 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_appname=freecad
pkgname="${_appname}-git"
-pkgver=0.19pre.r633.g063582241
+pkgver=0.19pre.r1038.g7b315d3a1
pkgrel=1
epoch=1
pkgdesc='A general purpose 3D CAD modeler - git checkout'
@@ -28,7 +28,7 @@ md5sums=('SKIP'
pkgver() {
cd "${srcdir}/${pkgname}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/_//'
+ git describe --long --tags --match '*.*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/_//'
}
build() {