summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Goldsmith2018-03-29 01:50:14 -0400
committerAdam Goldsmith2018-03-29 01:50:14 -0400
commit3c19b527c75f5f0fe5b213bf69911ff3537d3be1 (patch)
tree6e41dc0884ca52bd2156911fafc2b643b6f4ee90
parentea076293819d413b63c1eb2349e2868e6c7937b8 (diff)
downloadaur-3c19b527c75f5f0fe5b213bf69911ff3537d3be1.tar.gz
Switch to revision.commit versioning as the tag naming is inconsistent
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50534a654ff8..89cb95cd7474 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cura-fdm-materials-git
pkgdesc = A full software solution for 3D printing aimed at RepRaps and the Ultimaker.
- pkgver = jedi.master.2018.02.09
+ pkgver = r332.3fd3965
pkgrel = 1
url = https://github.com/Ultimaker/fdm_materials
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index f3b028f23f16..c1219e663035 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>
pkgname=cura-fdm-materials-git
-pkgver=jedi.master.2018.02.09
+pkgver=r332.3fd3965
pkgrel=1
pkgdesc="A full software solution for 3D printing aimed at RepRaps and the Ultimaker."
arch=('any')
@@ -15,7 +15,7 @@ md5sums=('SKIP')
pkgver() {
cd fdm_materials
- git describe --tags | sed 's/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {