summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:35:21 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-06 20:35:21 -0300
commit6eceb0a0479afae90cb942c877bb6311dcdced14 (patch)
tree4ea10f8a7513145d647a018aabfb168af56ceebe /libre/blender-addon-luxrender
parente56c4f2676132aa812e74846593d8943af66969a (diff)
downloadabslibre-6eceb0a0479afae90cb942c877bb6311dcdced14.tar.gz
abslibre-6eceb0a0479afae90cb942c877bb6311dcdced14.tar.bz2
abslibre-6eceb0a0479afae90cb942c877bb6311dcdced14.zip
blender-addon-luxrender: fix deps and src
Diffstat (limited to 'libre/blender-addon-luxrender')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 25e0930c1..251465626 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -2,6 +2,7 @@
_pkgname=luxrender
_pkgver=1.3.1
+_pkgverM=${_pkgver%.*}
_bldname=blender
_bldver=2.71
_bldep=14
@@ -15,11 +16,11 @@ pkgdesc="$_srcname: A addon for the ${_bldname^} which allows render and export
arch=('any')
url="http://www.$_pkgname.net/"
license=('GPL2')
-depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver::1}.$((${_pkgver:2:1}+1)).$((${_pkgver:4}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::1}.$((${_bldver:2}+1))")
+depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver/.*/}.$((${_pkgverM#*.}+1)).$((${_pkgver/*./}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))")
provides=("$_srcname=$_pkgver")
conflicts=("$_srcname")
replaces=("$_srcname")
-source=("http://src.$_pkgname.net/$_srcname/get/v${_pkgver::1}${_pkgver:2:1}${_pkgver:4:1}.tar.bz2"
+source=("http://src.$_pkgname.net/$_srcname/get/v${_pkgver/.*/}${_pkgverM#*.}${_pkgver/*./}.tar.bz2"
'http://www.gnu.org/licenses/gpl-2.0.txt')
sha512sums=('db2fd1063320825dc55c456b1596c25ccd7298ca331b32768ccc32c80e359e515aabb0c972f21ae33d16f8815c07fef7fdd6ffc7fade98a100fb824dc0a5905e'
'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957')