diff options
author | Adam Goldsmith | 2019-11-13 09:29:07 -0500 |
---|---|---|
committer | Adam Goldsmith | 2019-11-13 09:29:07 -0500 |
commit | 27888a531f591a0227b7077fe00b59f605db7522 (patch) | |
tree | dc45c29f001d262d7108216b60f7af449eac5d9e | |
parent | 7580db32612e0db30e10656b7100e76a4fd67efb (diff) | |
download | aur-27888a531f591a0227b7077fe00b59f605db7522.tar.gz |
Strip 'v' prefix from git tags for pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = cura-git pkgdesc = A full software solution for 3D printing aimed at RepRaps and the Ultimaker. - pkgver = 4.0.0.442.gf6dd3f922 + pkgver = 4.4.beta.r183.gebea5fbd1 pkgrel = 1 url = https://github.com/Ultimaker/Cura arch = any @@ -1,7 +1,7 @@ # Maintainer: Adam Goldsmith <contact@adamgoldsmith.name> pkgname=cura-git -pkgver=4.0.0.442.gf6dd3f922 +pkgver=4.4.beta.r183.gebea5fbd1 pkgrel=1 pkgdesc="A full software solution for 3D printing aimed at RepRaps and the Ultimaker." arch=('any') @@ -30,7 +30,7 @@ md5sums=('SKIP') pkgver() { cd Cura - git describe --tags | sed 's/-/./g' + git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |