updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cvltonemap / PKGBUILD
blobd740b589d4fe9bde4cd2c89e423ccd132a9f64cd
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 pkgname=cvltonemap
3 pkgver=0.2.4
4 pkgrel=1
5 pkgdesc="Interactive tone mapping tool for HDR images using GPU power"
6 arch=('i686' 'x86_64')
7 url="http://cvtool.sourceforge.net/"
8 license=('GPL3')
9 depends=('cvtool' 'qt')
10 optdepends=('pfstools: support for RGBE, EXR, TIFF, PFM and DCRAW')
11 source=(http://downloads.sourceforge.net/sourceforge/cvtool/$pkgname-$pkgver.tar.bz2 \
12         $pkgname.desktop)
13 md5sums=('53da314c208ee78fbf72f898a63355e4'
14          'eee66e728e905e2cdfcd11b3deb009bb')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   sed -i 's|qt4/Qt|Qt|g' configure
20   ./configure --prefix=/usr
21   make || return 1
22   make DESTDIR="$pkgdir/" install
24   install -D -m644 src/appicon.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
25   install -D -m644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
26   rm "$pkgdir"/usr/share/info/dir
29 # vim:set ts=2 sw=2 et: