summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-11 22:37:59 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-11 22:37:59 -0200
commit3c7070bfdd621de1776976c8ef2a241f7febe481 (patch)
treec3023fb5a97e0c151d5b05bcf7dee136507fadf5 /libre/blender-addon-luxrender
parent81fbbf86edeb63cf5e75e32d2aadc604303cf62f (diff)
parent0dde92b25d275d9f94c74c9f07ad5b384426b788 (diff)
downloadabslibre-3c7070bfdd621de1776976c8ef2a241f7febe481.tar.gz
abslibre-3c7070bfdd621de1776976c8ef2a241f7febe481.tar.bz2
abslibre-3c7070bfdd621de1776976c8ef2a241f7febe481.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/blender-addon-luxrender')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 541372a2e..9638a6135 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -10,7 +10,7 @@ _srcver=ad6536b0dda8
pkgname=$_bldname-addon-$_srcname
pkgver=$_pkgver.v$_bldver
-pkgrel=1
+pkgrel=2
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.$_srcname.net/
@@ -26,6 +26,12 @@ replaces=$_pkgname
source=http://src.$_srcname.net/$_pkgname/archive/$_srcver.tar.bz2
sha512sums=7bfd64abde07d9ad90d5e80a95f6fe5478ff65a8ff6965bd3a6c9671907a9a940affa5fb1a593884dc9eb6a5c967eaa1386a3225edc9cbbbb4c20c5d26198aa1
+prepare() {
+ sed -i "\|def find_luxrender_path[(][)]|,+9 d
+ s|find_luxrender_path[(][)]|'/usr/bin'|
+ " $srcdir/$_pkgname-$_srcver/src/$_srcname/__init__.py
+}
+
package() {
a=$srcdir/$_pkgname-$_srcver/src/$_srcname
b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons