1 # Contributor: perpetrator <evil.perpetrator@googlemail.com>
2 pkgname=indigo-unstable
6 pkgdesc="Physically-based unbiased render engine (unstable version)"
8 url="http://www.indigorenderer.com"
12 backup=('opt/indigo/inifile.xml')
14 install=indigo.install
15 if [ $CARCH = "i686" ]; then
16 source=('http://www.indigorenderer.com/dist/indigo_v1.1.18.tar.gz'\
17 indigo.desktop indigo.png indigo.sh indigo_console.sh \
18 http://www.smartden.de/uploads/File/Indigo/blendigo_$_expver.zip)
19 md5sums=('b40cff790f1bb9af0c6511bc2c0a7a73'
20 '3d1ee12344502bda3a41f496e97a4cf4'
21 '19fde0fa8b9151f7d2aa56710a1296d6'
22 'a186f890883ab81744904a93ff91f56e'
23 '09062de09facc7652f8fe9e6e4de635f'
24 'b11b4c7c6ae7bed32020f42bcf922ed6')
25 elif [ $CARCH = "x86_64" ]; then
26 source=('http://www.indigorenderer.com/dist/indigo_x64_v1.1.18.tar.gz' \
27 indigo.desktop indigo.png indigo.sh indigo_console.sh \
28 http://www.smartden.de/uploads/File/Indigo/blendigo_$_expver.zip)
29 md5sums=('e5eb620e97237c165cb615c8500b6374'
30 '3d1ee12344502bda3a41f496e97a4cf4'
31 '19fde0fa8b9151f7d2aa56710a1296d6'
32 'a186f890883ab81744904a93ff91f56e'
33 '09062de09facc7652f8fe9e6e4de635f'
34 'b11b4c7c6ae7bed32020f42bcf922ed6')
40 if [ $CARCH = "i686" ]; then
42 cp -a $srcdir/indigo_v${pkgver} \
45 elif [ $CARCH = "x86_64" ]; then
47 cp -a $srcdir/indigo_x64_v${pkgver} \
53 touch $pkgdir/opt/indigo/log.txt
54 chmod 777 $pkgdir/opt/indigo/log.txt
55 chmod 1777 $pkgdir/opt/indigo
56 chmod 1777 $pkgdir/opt/indigo/renders
57 chmod 1777 $pkgdir/opt/indigo/tree_cache
58 rm $pkgdir/opt/indigo/changelog.txt
59 rm -rf $pkgdir/opt/indigo/testscenes
60 mkdir -p $pkgdir/usr/share/doc/$pkgname
61 mv "$pkgdir/opt/indigo/Indigo Manual.pdf" $pkgdir/usr/share/doc/$pkgname/IndigoManual.pdf
63 install -D -m755 $srcdir/indigo.sh $pkgdir/usr/bin/indigo
64 install -D -m755 $srcdir/indigo_console.sh $pkgdir/usr/bin/indigo_console
65 # install desktop file and icon
66 install -D -m644 $srcdir/indigo.desktop $pkgdir/usr/share/applications/$pkgname.desktop
67 install -D -m644 $srcdir/indigo.png $pkgdir/usr/share/pixmaps/$pkgname.png
69 mkdir -p $pkgdir/usr/share/licenses/$pkgname
70 mv $pkgdir/opt/indigo/license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
72 install -D -m644 $srcdir/blendigo_$_expver.py $pkgdir/usr/share/blender/scripts/blendigo.py
73 mkdir -p $pkgdir/usr/share/blender/scripts/bpydata/
74 echo "/opt/indigo" > $pkgdir/usr/share/blender/scripts/bpydata/IndigoWrapper.conf
75 cp -r $srcdir/previews $pkgdir/opt/indigo
78 # vim:set ts=2 sw=2 et: