summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 34a28a88160..8a91f61e16f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = blender-fracture_modifier-git
pkgdesc = Development version of Blenders fracture_modifier branch
- pkgver = 2.79b.r2169.g233ad61cb8d
+ pkgver = 2.79b.r70678.g233ad61cb8d
pkgrel = 1
url = https://blender.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 9fd2ae76a5d..257bffb722c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ _sufix=${_branch}
_fragment="#branch=${_branch}"
pkgname=blender-${_sufix}-git
-pkgver=2.79b.r2169.g233ad61cb8d
+pkgver=2.79b.r70678.g233ad61cb8d
_blenver=${pkgver:0:4}
pkgrel=1
pkgdesc="Development version of Blenders ${_branch} branch"
@@ -70,7 +70,7 @@ sha256sums=('SKIP'
pkgver() {
cd "$srcdir/blender"
- git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "%sb.r%s.g%s" "$(grep -Po "BLENDER_VERSION *\K[0-9]{3}" source/blender/blenkernel/BKE_blender_version.h|sed 's/./&./1')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {