summaryrefslogtreecommitdiff
path: root/libre/blender/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-07-13 13:39:52 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-07-21 17:15:03 -0300
commit284e12f938bfd6e071bf6c15a47a84d606e82eb1 (patch)
treef01a9ea80247622933f382d6debda7c20135b2d2 /libre/blender/PKGBUILD
parent598751afd48d7be2ce6876970e9a0bfdcd29af40 (diff)
downloadabslibre-284e12f938bfd6e071bf6c15a47a84d606e82eb1.tar.gz
abslibre-284e12f938bfd6e071bf6c15a47a84d606e82eb1.tar.bz2
abslibre-284e12f938bfd6e071bf6c15a47a84d606e82eb1.zip
blender: fix arrays and variables
Diffstat (limited to 'libre/blender/PKGBUILD')
-rw-r--r--libre/blender/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD
index 3da59c099..b66cb17ad 100644
--- a/libre/blender/PKGBUILD
+++ b/libre/blender/PKGBUILD
@@ -12,7 +12,7 @@
# unreasonable.
_git=no
-_gittagver=v2.75
+_gittagver=2.75
_gittagrev=a
# blender: Tue, 20 Jan 2015 18:16:03 +0000 (23:16 +0500)
_gitcommit=c27589e1
@@ -25,9 +25,9 @@ _gittranslationscommit=06bedbb3
pkgbase=blender
pkgname=("$pkgbase" "$pkgbase-addon-gimp" "$pkgbase-addon-povray")
-_pkgver=2.75.a
-[[ $_git == no ]] && pkgver=$_pkgver
-[[ $_git == yes ]] && pkgver=$_pkgver.git1.$_gitcommit
+pkgver=$_gittagver
+[[ -n $_gittagrev ]] && pkgver=$_gittagver.$_gittagrev
+[[ $_git == yes ]] && pkgver=$_gittagver.git1.$_gitcommit
pkgrel=1.parabola1
epoch=17
_jpgver=1.5
@@ -45,9 +45,9 @@ depends=('boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freeglut' 'freetype2
'xdg-utils')
makedepends=('boost' 'cmake' 'git' 'llvm35' 'mesa') # 'bullet' (boost: for cycles, booleans, audaspace and/or i18n)
options=('!strip')
-[[ $_git == no ]] && source=("$pkgbase-$pkgver::git://git.$pkgbase.org/$pkgbase.git#tag=$_gittagver$_gittagrev"
- "$pkgbase-addons-$pkgver::git://git.$pkgbase.org/$pkgbase-addons.git#tag=$_gittagver"
- "$pkgbase-translations-$pkgver::git://git.$pkgbase.org/$pkgbase-translations.git#tag=$_gittagver")
+[[ $_git == no ]] && source=("$pkgbase-$pkgver::git://git.$pkgbase.org/$pkgbase.git#tag=v$_gittagver$_gittagrev"
+ "$pkgbase-addons-$pkgver::git://git.$pkgbase.org/$pkgbase-addons.git#tag=v$_gittagver"
+ "$pkgbase-translations-$pkgver::git://git.$pkgbase.org/$pkgbase-translations.git#tag=v$_gittagver")
[[ $_git == yes ]] && source=("$pkgbase-$pkgver::git://git.$pkgbase.org/$pkgbase.git#commit=$_gitcommit"
"$pkgbase-addons-$pkgver::git://git.$pkgbase.org/$pkgbase-addons.git#commit=$_gitaddonscommit"
"$pkgbase-translations-$pkgver::git://git.$pkgbase.org/$pkgbase-translations.git#commit=$_gittranslationscommit")