summaryrefslogtreecommitdiff
path: root/pcr/mitsuba/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:40:26 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:40:26 -0300
commit2eb68f2f6170d83c945c2953fd4fbc9c00cfadef (patch)
treecc8c4b36f8c47c1afa8a946f1e2953295246c654 /pcr/mitsuba/PKGBUILD
parent6eceb0a0479afae90cb942c877bb6311dcdced14 (diff)
blender-addon-mitsuba: fix deps and src
Diffstat (limited to 'pcr/mitsuba/PKGBUILD')
-rw-r--r--pcr/mitsuba/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index c0116cd21..5d033ce2c 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -9,6 +9,7 @@ _build_add=yes
_pkgname=mitsuba
_pkgver=0.5.0
+_pkgverM=${_pkgver%.*}
_pkgdat=20140225
_pkgrev=2030
_pkgrel=5
@@ -120,7 +121,7 @@ package_blender-addon-mitsuba() {
pkgdesc="A addon for the ${_bldname^} which allows render and export with Mitsuba (built for the $_bldname package)"
arch=('any')
license=('GPL2')
- depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver::1}.$((${_pkgver:2:1}+1)).$((${_pkgver:4}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::1}.$((${_bldver:2}+1))")
+ depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver/.*/}.$((${_pkgverM#*.}+1)).$((${_pkgver/*./}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))")
makedepends=()
cd $srcdir/$_addname-$_addver.$_addrev