summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2020-07-23 14:43:12 +0200
committerbartus2020-07-23 14:43:12 +0200
commit1738fd80cee34e170d56af072285bb9fa92ad794 (patch)
tree290b9c1214a1306beb29b873ed629817e8ece9d4 /PKGBUILD
parent77a7f0871cea7776cad7ca216a3d50582f3fd04e (diff)
downloadaur-blender-plugin-luxcorerender-git.tar.gz
Fix pkgver().
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 50559b5eb3f..4e0c14c736f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_name="luxcorerender"
pkgname=blender-plugin-${_name}-git
-pkgver=2.4.beta1.r9.g0e3aec2
+pkgver=2.4.rc1.r6.gc524b28
pkgrel=1
pkgdesc="LuxCoreRender exporter plugin for Blender"
arch=('any')
@@ -19,7 +19,7 @@ source=("${_name}::git+https://github.com/LuxCoreRender/BlendLuxCore.git${_fragm
sha256sums=('SKIP')
pkgver() {
- git -C "${_name}" describe --long --tags --match blendluxcore_v* | sed 's/^blendluxcore_v//;s/beta/.beta/;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git -C "${_name}" describe --long --tags --match blendluxcore_v* | sed 's/^blendluxcore_v//;s/\(alpha\|beta\|rc\)/\.\1/;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {