summaryrefslogtreecommitdiff
path: root/pcr/yafaray/PKGBUILD
diff options
context:
space:
mode:
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