summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender
diff options
context:
space:
mode:
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