summaryrefslogtreecommitdiff
path: root/pcr/yafaray/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:48:30 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:48:30 -0300
commitab413dccf5f6079584a4657efbae6cd4371635e1 (patch)
treec320ded11e49c576eab98933a7bc966d6075710c /pcr/yafaray/PKGBUILD
parent2eb68f2f6170d83c945c2953fd4fbc9c00cfadef (diff)
blender-addon-yafaray: fix deps
Diffstat (limited to 'pcr/yafaray/PKGBUILD')
-rw-r--r--pcr/yafaray/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD
index fd4a36637..0bab74a5a 100644
--- a/pcr/yafaray/PKGBUILD
+++ b/pcr/yafaray/PKGBUILD
@@ -9,6 +9,7 @@ _build_add=yes
_pkgname=yafaray
_pkgver=0.1.5
+_pkgverM=${_pkgver%.*}
_pkgdat=20140508
_pkgrev=ff262af4b50a90dcf39da04040b53509d7dc789d
_pkgrel=1
@@ -93,7 +94,7 @@ package_blender-addon-yafaray() {
pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (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