From 395eee4d4ce2ba2320564c05cd0695773088db44 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Wed, 24 Apr 2013 15:59:32 -0300 Subject: renamed luxblend25 to blender-addon-luxrender --- libre/blender-addon-luxrender/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++ libre/luxblend25/PKGBUILD | 32 ------------------------------- 2 files changed, 35 insertions(+), 32 deletions(-) create mode 100644 libre/blender-addon-luxrender/PKGBUILD delete mode 100644 libre/luxblend25/PKGBUILD diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD new file mode 100644 index 000000000..97a1b4f12 --- /dev/null +++ b/libre/blender-addon-luxrender/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer (Parabola): Márcio Silva + +pkgname=blender-addon-luxrender +_pkgname=${pkgname:14:3}${pkgname::5}25 +_srcver=c9deae0646d0 +pkgver=1.2.1.v2.66 +_pkgver=${pkgver::5} +_reqname=${pkgname::7} +_reqver=${pkgver:7} +_reqep=7 +pkgrel=2 +pkgdesc="$_pkgname: A addon for the ${_reqname^} which allows render and export with LuxRender (built for the $_reqname-libre package)" +arch=any +url=http://www.${pkgname:14}.net/ +license=GPL +depends=( + ${pkgname:14}=$_pkgver + "$_reqname>=$(($_reqep-1)):$_reqver" + "$_reqname<$_reqep:${_reqver::2}$((${_reqver:2:4}+1))" +) +provides=($_pkgname=$_pkgver) +conflicts=$_pkgname +replaces=$_pkgname +source=http://src.${pkgname:14}.net/$_pkgname/archive/$_srcver.tar.bz2 +sha512sums=e8d93d5d9d73c1cd4f2008697bd9a8a125d08910aed3f4d3e4bcd290810d673aa663c327fc2cb7ac983cb3439a6996431c39bc3a2f0b6ed05ce5d0b8398ece92 + +package() { + a=$srcdir/$_pkgname-$_srcver/src/${pkgname:14} + b=$pkgdir/usr/share/$_reqname/$_reqver/scripts/addons + install -d -m755 $b && cp -a $a $b + # change the search path in exporter so it finds pylux in its new location + sed -i 's|from.*import pylux|import pylux|' $b/${pkgname:14}/outputs/pure_api.py +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/luxblend25/PKGBUILD b/libre/luxblend25/PKGBUILD deleted file mode 100644 index 7c03e17ab..000000000 --- a/libre/luxblend25/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer (Parabola): Márcio Silva - -pkgbase=luxrender -pkgname=luxblend25 -_srcver=c9deae0646d0 -pkgver=1.2.1.v2.66 -_pkgver=${pkgver::5} -_reqname=blender -_reqver=${pkgver:7} -_reqep=7 -pkgrel=2 -pkgdesc="LuxRender exporter for ${_reqname^} (built for the $_reqname-libre package)" -arch=any -url=http://www.$pkgbase.net/ -license=GPL -depends=( - $pkgbase=$_pkgver - "$_reqname>=$(($_reqep-1)):$_reqver" - "$_reqname<$_reqep:${_reqver::2}$((${_reqver:2:4}+1))" -) -source=http://src.$pkgbase.net/$pkgname/archive/$_srcver.tar.bz2 -sha512sums=e8d93d5d9d73c1cd4f2008697bd9a8a125d08910aed3f4d3e4bcd290810d673aa663c327fc2cb7ac983cb3439a6996431c39bc3a2f0b6ed05ce5d0b8398ece92 - -package() { - a=$srcdir/$pkgname-$_srcver/src/$pkgbase - b=$pkgdir/usr/share/$_reqname/$_reqver/scripts/addons - install -d -m755 $b && cp -a $a $b - # change the search path in exporter so it finds pylux in its new location - sed -i 's|from.*import pylux|import pylux|' $b/$pkgbase/outputs/pure_api.py -} - -# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf