[arch-commits] Commit in blender/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Thu Mar 13 16:36:09 UTC 2014


    Date: Thursday, March 13, 2014 @ 17:36:09
  Author: svenstaro
Revision: 107156

upgpkg: blender 13:2.70rc-1

upstream release 2.70rc

Modified:
  blender/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-13 15:34:55 UTC (rev 107155)
+++ PKGBUILD	2014-03-13 16:36:09 UTC (rev 107156)
@@ -11,11 +11,12 @@
 # or simply roll with a new version. I usually choose the latter when the former seems
 # unreasonable.
 
-_gitcommit=13290d
+_gittag=v2.70-rc
+#_gitcommit=ffffff
 
 pkgname=blender
-pkgver=2.69
-[[ -n $_gitcommit ]] && pkgver=2.69.$_gitcommit
+pkgver=2.70rc
+[[ -n $_gitcommit ]] && pkgver=2.70.$_gitcommit
 pkgrel=1
 epoch=13
 pkgdesc="A fully integrated 3D graphics creation suite"
@@ -31,29 +32,25 @@
 optdepends=('cuda: cycles renderer cuda support')
 options=(!strip)
 install=blender.install
-if [[ -z $_gitcommit ]]; then
-  source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
-md5sums=('e77f53951fdaea69631cdd8c0f42cbcb')
+source=("git://git.blender.org/blender-addons.git"
+        "git://git.blender.org/blender-addons-contrib.git"
+        "git://git.blender.org/blender-translations.git"
+        "git://git.blender.org/scons.git")
+if [[ -n $_gittag ]]; then
+    source+=("${pkgname}-${pkgver}::git://git.blender.org/blender.git#tag=${_gittag}")
 else
-  source=("${pkgname}-${pkgver}::git://git.blender.org/blender.git#commit=${_gitcommit}"
-          "git://git.blender.org/blender-addons.git"
-          "git://git.blender.org/blender-addons-contrib.git"
-          "git://git.blender.org/blender-translations.git"
-          "git://git.blender.org/scons.git")
-  true && md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
+    source+=("${pkgname}-${pkgver}::git://git.blender.org/blender.git#commit=${_gitcommit}")
 fi
-
+md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  if [[ -n $_gitcommit ]]; then
-      git submodule init
-      git config submodule."release/scripts/addons".url ${srcdir}/blender-addons
-      git config submodule."release/scripts/addons_contrib".url ${srcdir}/blender-addons-contrib
-      git config submodule."release/datafiles/locale".url ${srcdir}/blender-translations
-      git config submodule."scons".url ${srcdir}/scons
-      git submodule update
-  fi
+  git submodule init
+  git config submodule."release/scripts/addons".url ${srcdir}/blender-addons
+  git config submodule."release/scripts/addons_contrib".url ${srcdir}/blender-addons-contrib
+  git config submodule."release/datafiles/locale".url ${srcdir}/blender-translations
+  git config submodule."scons".url ${srcdir}/scons
+  git submodule update
 }
 
 build() {




More information about the arch-commits mailing list