diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2012-10-19 13:54:57 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2012-10-19 13:54:57 -0200 |
commit | 7ef9e6ffdd8e71ce4298ef5bb19f5993dc6a4b8c (patch) | |
tree | bfeb625ffac920e956aa870f43a7a14aa110cf7b | |
parent | e572a07b18d613d6dc43fd376989b9c6377833c9 (diff) |
luxblend25: updating packages
-rw-r--r--[-rwxr-xr-x] | libre/luxblend25/PKGBUILD | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/libre/luxblend25/PKGBUILD b/libre/luxblend25/PKGBUILD index 3ce9b57db..cb89a938e 100755..100644 --- a/libre/luxblend25/PKGBUILD +++ b/libre/luxblend25/PKGBUILD @@ -1,44 +1,46 @@ -# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> +# $Id$ # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +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: |