summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:59:15 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:59:15 -0300
commit0e66e45bf81646fefbdeadebac649fd412639323 (patch)
treeecac447feea01fdadfa88aa9f72372ffb01ac25f /libre/blender-addon-luxrender
parentab413dccf5f6079584a4657efbae6cd4371635e1 (diff)
blender-addon-luxrender: fix license path
Diffstat (limited to 'libre/blender-addon-luxrender')
-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
}