From 29dd354e7e699cf5aeb43ae01e1ce7c8e1133338 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 18 Dec 2015 23:33:20 -0300 Subject: blender-addon-luxrender: rebuild pkg --- libre/blender-addon-luxrender/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD index b7d5cd9cd..9014131c0 100644 --- a/libre/blender-addon-luxrender/PKGBUILD +++ b/libre/blender-addon-luxrender/PKGBUILD @@ -4,7 +4,7 @@ _pkgname=luxrender _pkgver=1.5.0 _pkgverM=${_pkgver%.*} _bldname=blender -_bldver=2.75 +_bldver=2.76 _bldep=17 _srcname=${_pkgname::3}${_bldname::5}25 _srcver=63e44ef60fb4 @@ -12,15 +12,16 @@ _srcver=63e44ef60fb4 pkgname=$_bldname-addon-$_pkgname if [[ ${_pkgver/*./} == 0 ]]; then pkgver=${_pkgver/.*/}.${_pkgverM#*.}.v$_bldver + provides=("$_srcname=${_pkgver/.*/}.${_pkgverM#*.}") else pkgver=$_pkgver.v$_bldver + provides=("$_srcname=$_pkgver") fi pkgrel=1 pkgdesc="$_srcname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname package)" arch=('any') url="http://www.$_pkgname.net/" license=('GPL2') -provides=("$_srcname=$_pkgver") conflicts=("$_srcname") replaces=("$_srcname") if [[ ${_pkgver/*./} == 0 ]]; then @@ -43,7 +44,9 @@ prepare() { } package() { - depends=("$_pkgname>=${_pkgver/.*/}.${_pkgverM#*.}" "$_pkgname<${_pkgver/.*/}.$((${_pkgverM#*.}+1))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$_bldep:${_bldver/.*/}.$((${_bldver/*./}+1))") + _relver="${_bldver%%[.r][a-z]*}" + _minver="${_relver#*.}" + depends=("$_bldname>=$_bldep:${_bldver%%[.r][a-z]*}rc1" "$_bldname<$_bldep:${_bldver%%[.r]*}.$(($_minver+1))rc1" "$_pkgname") a=$srcdir/$_pkgname-$_srcname-$_srcver/src/$_pkgname b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons -- cgit v1.2.3-54-g00ecf