summaryrefslogtreecommitdiff
path: root/pcr/mitsuba/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 15:50:44 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 15:50:44 -0300
commitee3f5d85f60834d63924f048ac9d60c61195c7eb (patch)
treeb92f108da7b86c8854d38bb150d41125a4a7a33d /pcr/mitsuba/PKGBUILD
parentdc40ebd1479b22cb5e313e13d75d46ea57474a8b (diff)
downloadabslibre-ee3f5d85f60834d63924f048ac9d60c61195c7eb.tar.gz
abslibre-ee3f5d85f60834d63924f048ac9d60c61195c7eb.tar.bz2
abslibre-ee3f5d85f60834d63924f048ac9d60c61195c7eb.zip
blender-addon-mitsuba: fix depends
Diffstat (limited to 'pcr/mitsuba/PKGBUILD')
-rw-r--r--pcr/mitsuba/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index 4d0fd8452..d703dec67 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
-_build_pkg=no
+_build_pkg=yes
_build_add=yes
[[ $_build_pkg != yes && $_build_pkg != no ]] && _build_pkg=yes
@@ -120,7 +120,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::4}$(${_pkgver:4:}+1)" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:}+1))")
+ depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver::1}.$((${_pkgver:2:1}+1)).${_pkgver:4}" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::1}.$((${_bldver:2}+1))")
makedepends=()
cd $srcdir/$_addname-$_addver.$_addrev