summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-19 15:46:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-19 15:46:05 -0300
commit5e01aa6c69f029cc496c9a39ecf282e363ef7536 (patch)
tree43445cfdcd7fcce831c5625b813b4d0df7a9d770 /libre/blender-addon-luxrender
parent75a1023b02f9d1379784c0bf0cc174c092191ba6 (diff)
parent7f5844a3c0e8a803a359a4f385d35541176ce54b (diff)
downloadabslibre-5e01aa6c69f029cc496c9a39ecf282e363ef7536.tar.gz
abslibre-5e01aa6c69f029cc496c9a39ecf282e363ef7536.tar.bz2
abslibre-5e01aa6c69f029cc496c9a39ecf282e363ef7536.zip
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'libre/blender-addon-luxrender')
-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