diff options
Diffstat (limited to 'libre/luxblend25')
-rw-r--r-- | libre/luxblend25/PKGBUILD | 50 |
1 files changed, 33 insertions, 17 deletions
diff --git a/libre/luxblend25/PKGBUILD b/libre/luxblend25/PKGBUILD index d9934e179..3ce9b57db 100644 --- a/libre/luxblend25/PKGBUILD +++ b/libre/luxblend25/PKGBUILD @@ -1,28 +1,44 @@ -# $Id$ # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> pkgname=luxblend25 -pkgver=1.0rc3 -_pkgver=2d621c653196 +pkgver=1.0rc4 +_pkgver=06194cf93745 _blender=2.63 pkgrel=1 -pkgdesc="A LuxRender exporter for Blender-libre" -arch=('any') -url="http://www.luxrender.net/" -license=('GPL') -depends=('blender' 'luxrender') -replaces=('luxblend25') -conflicts=('luxblend25') -provides=("luxblend25=$pkgver") -source=(https://bitbucket.org/luxrender/luxblend25/get/$_pkgver.tar.bz2) -md5sums=('c5719c2a0e8567cd9f0aef429a2996f0') +pkgdesc='A LuxRender exporter for Blender-libre' +arch=( + any +) +url=http://www.{pkgname::3}render.net/ +license=( + GPL +) +depends=( + blender=$_blender + ${pkgname::3}render +) +replaces=( + $pkgname +) +conflicts=( + $pkgname +) +provides=( + $pkgname=$pkgver +) +source=( + https://bitbucket.org/${pkgname::3}render/$pkgname/get/$_pkgver.tar.bz2 +) +md5sums=( + c5719c2a0e8567cd9f0aef429a2996f0 +) package() { - install -d -m755 "$pkgdir"/usr/share/blender/$_blender/scripts/addons - cp -a "$srcdir"/luxrender-luxblend25-$_pkgver/src/luxrender \ - "$pkgdir"/usr/share/blender/$_blender/scripts/addons + install -d -m755 $pkgdir/usr/share/blender/$_blender/scripts/addons + cp -a $srcdir/${pkgname::3}render-$pkgname-$_pkgver/src/${pkgname::3}render \ + $pkgdir/usr/share/blender/$_blender/scripts/addons # change the search path in exporter so it finds pylux in its new location - sed -i 's|from.*import pylux|import pylux|' "$pkgdir/usr/share/blender/$_blender/scripts/addons/luxrender/outputs/pure_api.py" + sed -i 's|from.*import pylux|import pylux|' $pkgdir/usr/share/blender/$_blender/scripts/addons/${pkgname::3}render/outputs/pure_api.py } # vim:set ts=2 sw=2 et: |