summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2020-02-23 16:48:11 +0100
committerbartus2020-02-23 16:54:41 +0100
commit840d7ed690e57ac19d22d19e5c4f1c549ed8d0e0 (patch)
tree6e53dff2d06279725e3f44e0a90cb87c7f5dacab
parente7efcad082ccdd2d956eb191b6816006e0723a55 (diff)
downloadaur-840d7ed690e57ac19d22d19e5c4f1c549ed8d0e0.tar.gz
Update pkgver().
-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() {