1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
5 pkgdesc="A script based raytracer for high-quality three-dimensional graphics"
7 url="http://povray.org/"
9 depends=('boost-libs' 'libpng' 'libtiff' 'sdl')
10 makedepends=('boost' 'openexr')
13 backup=('etc/povray/3.7/povray.conf' 'etc/povray/3.7/povray.ini')
14 source=(http://www.povray.org/beta/source/povray-$pkgver.tar.bz2 \
15 no_user_install.diff \
17 md5sums=('66480f1ca6b1b1b5198605b6caf3f8e8'
18 '487d7bf4d99952b18f84188fd6483ad1'
19 'd496f86ba83747a7caa363be8c5631eb')
22 cd "$srcdir"/povray-$pkgver
24 sed -i 's|/usr/local|/usr|' vfe/unix/unixoptions.h
25 patch -Np1 < "$srcdir"/no_user_install.diff || true
27 [ "$PACKAGER" ] && COMPILED="$PACKAGER" || COMPILED="John Doe"
28 ./configure COMPILED_BY="$COMPILED" --prefix=/usr --sysconfdir=/etc \
35 cd "$srcdir"/povray-$pkgver
37 make DESTDIR="$pkgdir" install
39 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
40 # install -m644 doc/povlegal.doc "$pkgdir"/usr/share/licenses/$pkgname/
41 # install -m644 doc/source-license.txt "$pkgdir"/usr/share/licenses/$pkgname/
42 # install -m644 doc/distribution-license.txt "$pkgdir"/usr/share/licenses/$pkgname/
43 install -m644 "$srcdir"/NOTICE "$pkgdir"/usr/share/licenses/$pkgname/
46 # vim:set ts=2 sw=2 et: