From 53f7ee814f17d009ad1b755f0125630c6186b912 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Mon, 9 Dec 2013 20:21:37 -0200 Subject: blender-addon-luxrender: fixing path --- libre/blender-addon-luxrender/PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3