summaryrefslogtreecommitdiff
path: root/community/luminancehdr/PKGBUILD
blob: 5d7439740cfddae2bc9389260c784afee134694f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 40353 2011-02-23 08:02:01Z ebelanger $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>

pkgname=luminancehdr
pkgver=2.0.1
pkgrel=3
pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging'
arch=('i686' 'x86_64')
url='http://qtpfsgui.sourceforge.net/'
license=('GPL')
depends=('dcraw' 'exiv2' 'fftw' 'gsl' 'hicolor-icon-theme' 'libtiff' 'openexr' 'qt')
replaces=('qtpfsgui')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/sourceforge/qtpfsgui/luminance-v${pkgver}.tar.gz)
md5sums=('3d94bb4c40c7cbff2ebe8f3c15b46596')
sha1sums=('4777912d8f70b02ff2586ea8c31a196ee265c81e')

build() {
  cd "${srcdir}/luminance-v${pkgver}"

  if [ ${CARCH} = i686 ]; then
    sed -i 's/ -msse2//' project.pro
  fi

  lrelease project.pro
  qmake PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/luminance-v${pkgver}"

  make INSTALL_ROOT="${pkgdir}" install
}