1 # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
5 pkgdesc="Global illumination rendering system"
7 url="http://sunflow.sourceforge.net/"
8 depends=('java-runtime')
9 makedepends=('subversion')
11 install=sunflow.install
12 source=(http://downloads.sourceforge.net/sourceforge/sunflow/$pkgname-bin-v$pkgver.zip \
13 sunflow.sh sunflow.desktop sunflow.png)
14 md5sums=('5806cafff80db23c275203589ce2f5d4'
15 '3d2b099be4bac57e8db94aed51c87457'
16 '7c0cb3b5d6ee66086d84a3cc66ac3768'
17 '810ed7db16faa6d11c9b1978e4aca39b')
21 svn co https://sunflow.svn.sourceforge.net/svnroot/sunflow/trunk/exporters/blender .
25 mkdir -p "$pkgdir"/usr/share/java/$pkgname
26 install -m644 {janino,sunflow}.jar "$pkgdir"/usr/share/java/$pkgname
28 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
29 install -D -m644 "$srcdir"/sunflow_export.py "$pkgdir"/usr/share/blender/scripts/sunflow_export.py
30 install -D -m755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
31 install -D -m644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
32 install -D -m644 "$srcdir"/$pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png