1 # Contributor: ganymede
6 pkgdesc="A node based image and video compositor. x86_64 binary version."
7 url="http://ramenhdr.sourceforge.net/"
8 depends=('boost' 'intel-tbb' 'qt' 'ilmbase' 'openexr' 'libpng12' 'libjpeg' 'libtiff')
10 source=(http://downloads.sourceforge.net/project/ramenhdr/ramen-${pkgver}_linux64.tar.gz)
11 md5sums=('582e40283698130381cc1e60ffd6d87c')
16 mkdir $pkgdir/usr $pkgdir/usr/bin $pkgdir/usr/lib $pkgdir/usr/share $pkgdir/usr/share/icons
17 install -m 755 $srcdir/ramen-$pkgver/bin/ramen.bin $pkgdir/usr/bin
18 install -m 755 $srcdir/ramen-$pkgver/bin/ramen $pkgdir/usr/bin
19 install -m 755 $srcdir/ramen-$pkgver/bin/rmaketiled.bin $pkgdir/usr/bin
20 install -m 755 $srcdir/ramen-$pkgver/bin/rmaketiled $pkgdir/usr/bin
21 cp $srcdir/ramen-$pkgver/icons/icon.png $pkgdir/usr/share/icons/ramen.png
22 cp $srcdir/ramen-$pkgver/icons/ramendoc.png $pkgdir/usr/share/icons/ramendoc.png
23 cp -r $srcdir/ramen-$pkgver/lib/libOpenImageIO.so $pkgdir/usr/lib
24 cp -r $srcdir/ramen-$pkgver/lib/libboost_thread* $pkgdir/usr/lib
25 # Ugly hack to support libjpeg.so.62 and libtiff.so.4
26 # aur/libjpeg6 causes a segmentation error
27 ln -s /usr/lib/libjpeg.so.8.0.2 $pkgdir/usr/lib/libjpeg.so.62
28 ln -s /usr/lib/libtiff.so.3 $pkgdir/usr/lib/libtiff.so.4