summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2013-12-09 20:21:37 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2013-12-09 20:21:37 -0200
commit53f7ee814f17d009ad1b755f0125630c6186b912 (patch)
treed136a8b68b09acdd960dbfb29309d00418cb5a32
parentd12581cd83afecf25e9ff1bcd61a35bd1f73d0ec (diff)
blender-addon-luxrender: fixing path
-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