summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-19 21:51:10 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-19 21:51:10 -0300
commit923c6a02e6ef4dd73418181da450df3a6ec0e315 (patch)
tree1bcf85d145200419b9593623428a7f8d86470e09
parent9a4168cbfaf430687b8e64177f6ee51865184074 (diff)
downloadabslibre-923c6a02e6ef4dd73418181da450df3a6ec0e315.tar.gz
abslibre-923c6a02e6ef4dd73418181da450df3a6ec0e315.tar.bz2
abslibre-923c6a02e6ef4dd73418181da450df3a6ec0e315.zip
blender-addon-luxrender: changing to 2.68 ver.
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 040eeccf4..686dbe9b2 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -1,22 +1,24 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=blender-addon-luxrender
-_pkgname=${pkgname:14:3}${pkgname::5}25
+_srcname=luxrender
+_pkgver=1.2.1
+_bldname=blender
+_bldver=2.68
+_bldep=9
+_pkgname=${_srcname::3}${_bldname::5}25
_srcver=c9deae0646d0
-pkgver=1.2.1.v2.67
-_pkgver=${pkgver::5}
-_reqname=${pkgname::7}
-_reqver=${pkgver:7}
-_reqep=8
+
+pkgname=$_bldname-addon-$_srcname
+pkgver=$_pkgver.v$_bldver
pkgrel=1
-pkgdesc="$_pkgname: A addon for the ${_reqname^} which allows render and export with LuxRender (built for the $_reqname-libre package)"
+pkgdesc="$_pkgname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname-libre package)"
arch=any
url=http://www.${pkgname:14}.net/
license=GPL
depends=(
${pkgname:14}=$_pkgver
- "$_reqname>=$(($_reqep-1)):$_reqver"
- "$_reqname<$_reqep:${_reqver::2}$((${_reqver:2:4}+1))"
+ "$_bldname>=$(($_bldep-1)):$_bldver"
+ "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
)
provides=($_pkgname=$_pkgver)
conflicts=$_pkgname
@@ -26,7 +28,7 @@ sha512sums=e8d93d5d9d73c1cd4f2008697bd9a8a125d08910aed3f4d3e4bcd290810d673aa663c
package() {
a=$srcdir/$_pkgname-$_srcver/src/${pkgname:14}
- b=$pkgdir/usr/share/$_reqname/$_reqver/scripts/addons
+ b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
install -d -m755 $b && cp -a $a $b
# change the search path in exporter so it finds pylux in its new location
sed -i 's|from.*import pylux|import pylux|' $b/${pkgname:14}/outputs/pure_api.py