summaryrefslogtreecommitdiff
path: root/pcr/yafaray/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-06 19:28:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-06 19:28:14 -0300
commit8885186187c43a610224b6562c06de23a3067e28 (patch)
tree6bbd279a618c5b2680c71fd51dafd8aa3960bb34 /pcr/yafaray/PKGBUILD
parent8f7709f5b196d988141d085572661b6944ad8267 (diff)
parent2c5de6f1648e51c81c6446b45dfcd8d091fdd929 (diff)
downloadabslibre-8885186187c43a610224b6562c06de23a3067e28.tar.gz
abslibre-8885186187c43a610224b6562c06de23a3067e28.tar.bz2
abslibre-8885186187c43a610224b6562c06de23a3067e28.zip
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'pcr/yafaray/PKGBUILD')
-rw-r--r--pcr/yafaray/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD
index 0d241bcbc..71674f2ac 100644
--- a/pcr/yafaray/PKGBUILD
+++ b/pcr/yafaray/PKGBUILD
@@ -19,7 +19,7 @@ _addname=$_bldname-addon-$_pkgname
_addver=$_pkgver # __init__.py:bl_info>version
_adddat=20140425
_addrev=c3d4ff74593d5bd9552306f597f6b36e342687da
-_addrel=1
+_addrel=2
_pyver=3.4
pkgbase=$_pkgname
@@ -38,9 +38,9 @@ url="http://www.$_pkgname.org"
_prepare_yafaray() {
msg 'Renaming source dir'
- mv -v $srcdir/Core-$_pkgrev $srcdir/$_pkgname-$pkgver.$_pkgrev
+ mv -v $srcdir/Core-$_pkgrev $srcdir/$_pkgname-$_pkgver.$_pkgrev
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev
[[ -d build ]] && rm -vr build
mkdir -v build
@@ -63,7 +63,7 @@ prepare() {
}
_build_yafaray() {
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
-DYAF_PY_VERSION=$_pyver\
@@ -79,7 +79,7 @@ package_yafaray() {
'qt4: QT GUI'
"$_addname: ${_bldname^} addon renderer")
- cd $srcdir/$_pkgname-$pkgver.$_pkgrev/build
+ cd $srcdir/$_pkgname-$_pkgver.$_pkgrev/build
make DESTDIR=$pkgdir install
b=$pkgdir/usr/share/licenses/$pkgname
@@ -93,7 +93,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" "$_bldname-libre>=$_bldep:$_bldver" "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))")
+ depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver::1}.$((${_pkgver:2:1}+1)).$((${_pkgver:4}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::1}.$((${_bldver:2}+1))")
makedepends=()
cd $srcdir/$_addname-$_addver.$_addrev