summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkureta2019-10-04 00:49:36 +0300
committerkureta2019-10-04 00:49:36 +0300
commit7c3d6a4d9e492dcd3d6cbf74464017a00fad325b (patch)
treed79295b43f18382fb18b2485748bc0ef37ce09fe /PKGBUILD
parent2cddc77a3743b97afac7f30e895645c82b368048 (diff)
downloadaur-7c3d6a4d9e492dcd3d6cbf74464017a00fad325b.tar.gz
fixed versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 17602a24dc5..aafad181dd4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Fredrick Brennan <copypaste@kittens.ph>
# Submitter: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=blender-git
-pkgver=84454.690478027bd
-pkgrel=2
+pkgver=2.81.r90990.a1f16ba67fc
+pkgrel=1
pkgdesc="A fully integrated 3D graphics creation suite (development)"
arch=('i686' 'x86_64')
url="http://blender.org/"
@@ -31,6 +31,11 @@ source=('git://git.blender.org/blender.git' \
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
'47e5bbe93fc221066882947211ff7812')
+pkgver() {
+ cd "$srcdir/blender"
+ printf "%s.r%s.%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)"
+}
+
# determine whether we can precompile CUDA kernels
_CUDA_PKG=`pacman -Qq cuda 2>/dev/null` || true
if [ "$_CUDA_PKG" != "" ]; then
@@ -53,11 +58,6 @@ if [ "$_OIDN_PKG" != "" ]; then
-DWITH_OPENIMAGEDENOISE=ON"
fi
-pkgver() {
- cd "$srcdir/blender"
- printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
prepare() {
cd "$srcdir/blender"
# update the submodules