summaryrefslogtreecommitdiff
path: root/pcr/mitsuba/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mitsuba/PKGBUILD')
-rw-r--r--pcr/mitsuba/PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index c299c226b..a45b42445 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -32,12 +32,12 @@ url="https://www.$_pkgname-renderer.org/"
license=('GPL3')
[[ $_build_pkg == yes ]] && depends=('boost-libs' 'collada-dom' 'glew' 'libxxf86vm' 'openexr' 'qt4' 'xerces-c')
[[ $_build_pkg == yes ]] && makedepends=('boost' 'cmake' 'eigen3' 'mercurial' 'python')
-source=('http://www.gnu.org/licenses/gpl-3.0.txt')
[[ $_build_pkg == yes ]] && source+=("$_pkgname-$pkgver.tar.bz2::${url}repos/$_pkgname/archive/v$pkgver.tar.bz2")
[[ $_build_add == yes ]] && source+=("$_addname-$_addver-$_addrev.tar.bz2::${url}repos/exporters/$_addname/archive/$_addrev.tar.bz2")
-sha512sums=('7633623b66b5e686bb94dd96a7cdb5a7e5ee00e87004fab416a5610d59c62badaf512a2e26e34e2455b7ed6b76690d2cd47464836d7d85d78b51d50f7e933d5c')
+source+=('http://www.gnu.org/licenses/gpl-3.0.txt')
[[ $_build_pkg == yes ]] && sha512sums+=('cb30ca95ada36bec56aca3af55af19511ae64f05631d3e221308dee6fe04a1de08daab6e89c9025c8f6492731ed586d40d92f2168c5d49a060f31cd0afc7d0a7')
[[ $_build_add == yes ]] && sha512sums+=('cd812c46ccfb4673a5d170c96e4aa8275d136ef4ae300b50944aac69ff646e9118afa78a9a1f22e7b03fcc1e4fa496c889f59d8bf40836e27d023548061a4491')
+sha512sums+=('7633623b66b5e686bb94dd96a7cdb5a7e5ee00e87004fab416a5610d59c62badaf512a2e26e34e2455b7ed6b76690d2cd47464836d7d85d78b51d50f7e933d5c')
_prepare_mitsuba() {
mv -v $srcdir/$_pkgname-???????????? $srcdir/$_pkgname-v$pkgver
@@ -111,12 +111,11 @@ package_mitsuba() {
}
package_blender-addon-mitsuba() {
- _pkgver=$pkgver
pkgver=$_addver.r$_addrev.v$_bldver
pkgrel=$_addrel
pkgdesc="A addon for the ${_bldname^} which allows render and export with Mitsuba (built for the $_bldname package)"
arch=('any')
- depends=("$_pkgname=$pkgver" "$_bldname-libre>=$_bldep:$_bldver" "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))")
+ depends=("$_pkgname=$_pkgver" "$_bldname-libre>=$_bldep:$_bldver" "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))")
makedepends=()
cd $srcdir/$_addname-$_addrev