From 7ef9e6ffdd8e71ce4298ef5bb19f5993dc6a4b8c Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 19 Oct 2012 13:54:57 -0200 Subject: luxblend25: updating packages --- libre/luxblend25/PKGBUILD | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) mode change 100755 => 100644 libre/luxblend25/PKGBUILD diff --git a/libre/luxblend25/PKGBUILD b/libre/luxblend25/PKGBUILD old mode 100755 new mode 100644 index 3ce9b57db..cb89a938e --- a/libre/luxblend25/PKGBUILD +++ b/libre/luxblend25/PKGBUILD @@ -1,44 +1,46 @@ -# Maintainer: Lukas Jirkovsky +# $Id$ # Maintainer (Parabola): Márcio Silva + +pkgbase=luxrender pkgname=luxblend25 -pkgver=1.0rc4 -_pkgver=06194cf93745 -_blender=2.63 +srcver=3a928b723b29 +pkgver=1.1.v2.64 +_pkgver=${pkgver::3} +reqname=blender +reqver=${pkgver:5} pkgrel=1 pkgdesc='A LuxRender exporter for Blender-libre' arch=( any ) -url=http://www.{pkgname::3}render.net/ +url="http://www.$pkgbase.net/" license=( GPL ) depends=( - blender=$_blender - ${pkgname::3}render + $pkgbase=$_pkgver + "$reqname>=$reqver" ) -replaces=( - $pkgname +provides=( + $pkgname=$_pkgver ) conflicts=( $pkgname + "$reqname>=${reqver::2}$((${reqver:2}+1))" ) -provides=( - $pkgname=$pkgver +replaces=( + $pkgname ) source=( - https://bitbucket.org/${pkgname::3}render/$pkgname/get/$_pkgver.tar.bz2 + "https://src.$pkgbase.net/$pkgname/archive/$srcver.tar.bz2" ) -md5sums=( - c5719c2a0e8567cd9f0aef429a2996f0 +sha512sums=( + f5aadc77e699f6b7259ece271b0c50ca7be5858bb628b99aedbb23b64e5587ac59cc3d1c52e063ba89c9d340f915727046e4d3017b26238425d43d3bba14f017 ) package() { - 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/${pkgname::3}render/outputs/pure_api.py + a=$pkgname-$srcver/src/$pkgbase + b=usr/share/$reqname/$reqver/scripts/addons + install -d -m755 $pkgdir/$b + cp -a $srcdir/$a $pkgdir/$b } - -# vim:set ts=2 sw=2 et: -- cgit v1.2.3