updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / pfstmo / PKGBUILD
blobf262b7293c28e1fbe569cbf3c0a2f03ef5843074
1 #Maintainer: Jochen Keil <jochen dot keil at gmail dot com>
2 #Contributor: Brandon Andrews <bsa at bsa dot isa-geek dot com>
3 pkgname=pfstmo
4 pkgver=1.4
5 pkgrel=1
6 pkgdesc="Several tone-mapping implementations to complement the other pfstools for high dynamic range images."
7 url="http://pfstools.sourceforge.net/pfstmo.html"
8 license="GPL LGPL FDL"
9 depends=('pfstools' 'fftw')
10 provides=('pfstmo')
11 arch=('i686' 'x86_64')
12 source=('http://sourceforge.net/projects/pfstools/files/pfstmo/$pkgver/pfstmo-$pkgver.tar.gz/download?use_mirror=autoselect' 'display_adaptive_tmo.h.patch')
13 md5sums=('90409a9adda70f59001c04cafcdab8d6'
14          '2399b09ac8df7587b3a79882e9427dfa')
15 build(){
16         cd $startdir/src/$pkgname-$pkgver
17         patch -p0 < $startdir/display_adaptive_tmo.h.patch
18         ./configure --prefix=/usr
19         make || return 1
20         make prefix=$startdir/pkg/usr install