summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/mitsuba/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index 0961ef11d..d8e12a3b9 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -2,17 +2,17 @@
_pkgname=mitsuba
_pkgver=0.4.4
-_pkgrel=4
+_pkgrel=5
_bldname=blender
-_bldver=2.68
-_bldep=9
+_bldver=2.69
+_bldep=10
_addname=$_pkgname-$_bldname
_adddat=20130320
-_addrev=40
-_addrel=3
+_addrev=47
+_addrel=1
_pyver=3.3
-# Wed Mar 20 01:30:37 2013 +0100 rev:40 ($srcdir/$_addname/$_pkgname/__init__.py:bl_info>version)
+# Thu May 09 22:07:37 2013 +0200 - rev:47:8689e0896cf6 ($srcdir/$_addname/$_pkgname/__init__.py:bl_info>version)
_addver=0.2.1
pkgname=(
@@ -50,21 +50,25 @@ makedepends=(
python
)
source=(
- $_pkgname-$pkgver.tar.bz2::${url}hg/$_pkgname/archive/v$pkgver.tar.bz2
- $_addname-$_addver.tar.bz2::${url}hg/$_addname/archive/$_addrev.tar.bz2
+ $_pkgname-$pkgver.tar.bz2::${url}repos/$_pkgname/archive/v$pkgver.tar.bz2
+ $_addname-$_addver-$_addrev.tar.bz2::${url}repos/exporters/$_addname/archive/$_addrev.tar.bz2
)
sha512sums=(
- 66dcab376a44eeb2fbe808a32ead5b554d777fb2f6a73c43883086b7829e0c697aaeccbb6fbbed9fcb221684a64ccce8be81a78ebcd228316ea12b8f6f3e7f6c
- c829978a28c7780605662c604450c3d00b8ac958310e26aa7ad02dfb50f1875420e0e85fe0c868e030946c894cb939d18a4589c9e06a169f86eba5948eb2147e
+ 01967fb84884fbab0ada3775c8f8c54b5523a97ebc9dedd559da3cb54543ecc919d3251c09718358405c19133218048fdb1c64f83d0637cf7b98acccb7564a1c
+ 514cbb1300229599c536183ec300c3074aca349e0ddaa36ae7ae868a2c6b466116d9373a8d9ea89dcd1d09685e9a97bbd5c11121860da1a1bf45b921bcd21ca7
)
prepare() {
+ mv -v $srcdir/$_pkgname-???????????? $srcdir/$_pkgname-v$pkgver
+ mv -v $srcdir/$_addname-???????????? $srcdir/$_addname-$_addrev
+
cd $srcdir/$_pkgname-v$pkgver
msg 'renaming wrong OS name'
_OS=$(uname -o)
[[ $_OS == GNU ]] && sed -i 's|Linux|GNU|I' src/libcore/plugin.cpp
- [[ $_OS == GNU/Linux ]] && sed -i 's|Linux,|GNU/Linux-libre,|' src/libcore/plugin.cpp
+ [[ $_OS == GNU/Linux ]] && sed -i 's|Linux,|GNU/Linux,|' src/libcore/plugin.cpp
+ [[ $_OS == GNU/kFreeBSD ]] && sed -i 's|Linux,|GNU/kFreeBSD,|' src/libcore/plugin.cpp
sed -i 's|Linux/|Linux,|
s|Linux|GNU/Linux|
' include/$_pkgname/core/{atomic,fstream,random,thread}.h