summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender-addon-luxrender/PKGBUILD')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 251465626..ca93a2f58 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -34,7 +34,11 @@ prepare() {
package() {
a=$srcdir/$_pkgname-$_srcname-$_srcver/src/$_pkgname
b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
- install -d -m755 $b && cp -a $a $b
+ c=$pkgdir/usr/share/licenses/$pkgname
+
+ install -vd $b && cp -a $a $b
+ install -vd $c && install -m644 $startdir/gpl-2.0.txt $c/GPL-v2.0
+
# change the search path in exporter so it finds pylux in its new location
sed -i 's|from.*import pylux|import pylux|' $b/$_pkgname/outputs/pure_api.py
}