updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / pbrt / PKGBUILD
blob99ad886c720085b1646d9f7262905c620c7c8372
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 pkgname=pbrt
3 pkgver=2
4 pkgrel=1
5 pkgdesc="Physically Based Renderer"
6 arch=('i686' 'x86_64')
7 url="http://www.pbrt.org/"
8 license=('GPL')
9 depends=('openexr')
10 source=(http://www.pbrt.org/src/$pkgname-v$pkgver-src.tar.bz2)
11 md5sums=('166930509608a52f233d639ae26bb8fb')
13 build() {
14   cd "$srcdir"/$pkgname-v$pkgver/src
15   make
16   install -d -m755 "$pkgdir"/usr/bin
17   install -m755 bin/* "$pkgdir"/usr/bin/
19   cd "$srcdir"/$pkgname-v$pkgver/exporters
20   install -d -m755 "$pkgdir"/usr/share/blender/scripts/
21   install -D -m644 blender/*.py "$pkgdir"/usr/share/blender/scripts/pbrtexport.py
24 # vim:set ts=2 sw=2 et: