summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-12-18 23:33:20 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-12-18 23:33:20 -0300
commit29dd354e7e699cf5aeb43ae01e1ce7c8e1133338 (patch)
tree76dd44d2bd5970469b58351d965e68dd7f478b48 /libre/blender-addon-luxrender/PKGBUILD
parent8364114849179d7fc4498c1ff58775eae91fa8f5 (diff)
downloadabslibre-29dd354e7e699cf5aeb43ae01e1ce7c8e1133338.tar.gz
abslibre-29dd354e7e699cf5aeb43ae01e1ce7c8e1133338.tar.bz2
abslibre-29dd354e7e699cf5aeb43ae01e1ce7c8e1133338.zip
blender-addon-luxrender: rebuild pkg
Diffstat (limited to 'libre/blender-addon-luxrender/PKGBUILD')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD9
1 files 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