summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-19 21:57:24 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-19 21:57:24 -0300
commit39783c51b98bf8d54e883962b559d2b22ae76392 (patch)
treefd218a2085fc3180a154178c02ad4b8003ff3dcf
parent4e3f7e6477a00b7ff4ad60c070e8207e57d68223 (diff)
downloadabslibre-39783c51b98bf8d54e883962b559d2b22ae76392.tar.gz
abslibre-39783c51b98bf8d54e883962b559d2b22ae76392.tar.bz2
abslibre-39783c51b98bf8d54e883962b559d2b22ae76392.zip
blender-addon-luxrender: fixing ${pkgname:14} variable to $_srcname
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 7248fdc57..fad4692b2 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -13,25 +13,25 @@ pkgver=$_pkgver.v$_bldver
pkgrel=1
pkgdesc="$_pkgname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname-libre package)"
arch=any
-url=http://www.${pkgname:14}.net/
+url=http://www.$_srcname.net/
license=GPL
depends=(
- ${pkgname:14}=$_pkgver
+ $_srcname=$_pkgver
"$_bldname>=$(($_bldep-1)):$_bldver"
"$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
)
provides=($_pkgname=$_pkgver)
conflicts=$_pkgname
replaces=$_pkgname
-source=http://src.${pkgname:14}.net/$_pkgname/archive/$_srcver.tar.bz2
+source=http://src.$_srcname.net/$_pkgname/archive/$_srcver.tar.bz2
sha512sums=e8d93d5d9d73c1cd4f2008697bd9a8a125d08910aed3f4d3e4bcd290810d673aa663c327fc2cb7ac983cb3439a6996431c39bc3a2f0b6ed05ce5d0b8398ece92
package() {
- a=$srcdir/$_pkgname-$_srcver/src/${pkgname:14}
+ a=$srcdir/$_pkgname-$_srcver/src/$_srcname
b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
install -d -m755 $b && cp -a $a $b
# change the search path in exporter so it finds pylux in its new location
- sed -i 's|from.*import pylux|import pylux|' $b/${pkgname:14}/outputs/pure_api.py
+ sed -i 's|from.*import pylux|import pylux|' $b/$_srcname/outputs/pure_api.py
}
# vim:set ts=2 sw=2 et: