diff options
author | Lukáš Jirkovský | 2015-06-21 14:16:16 +0200 |
---|---|---|
committer | Lukáš Jirkovský | 2015-06-21 14:16:16 +0200 |
commit | e4fac0f393eaec9d1e069fd3dd41b4464f00cfc5 (patch) | |
tree | de17387db78a25c9fbfdbe5e0e40e82686866e95 | |
download | aur-e4fac0f393eaec9d1e069fd3dd41b4464f00cfc5.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 37 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a1ed4ce811d4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,37 @@ +pkgbase = pfstools + pkgdesc = Set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images + pkgver = 2.0.3 + pkgrel = 1 + url = http://pfstools.sourceforge.net/ + arch = i686 + arch = x86_64 + license = LGPL2.1 + makedepends = cmake + makedepends = openexr + makedepends = imagemagick + makedepends = libtiff + makedepends = freeglut + makedepends = glu + makedepends = netpbm + makedepends = qt4 + depends = gcc-libs + optdepends = freeglut: OpenGL image viewer + optdepends = glu: OpenGL image viewer + optdepends = qt4: Qt GUI + optdepends = opencv: pfsalign + optdepends = openexr: OpenEXR support + optdepends = imagemagick: ImageMagick support + optdepends = netpbm: PBM support + optdepends = dcraw: RAW support + optdepends = gsl: mantiuk08 tone mapping operator + optdepends = fftw: durand02 tone mapping operator + provides = pfscalibration + provides = pfstmo + conflicts = pfscalibration + conflicts = pfstmo + options = !libtool + source = http://downloads.sourceforge.net/pfstools/pfstools-2.0.3.tgz + md5sums = c34b3df1f0950120138f13f521f2a5d6 + +pkgname = pfstools + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7d4bc4b4c1d5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> +# Contributor: Brandon Andrews <bsa@bsa.isa-geek.com> +# Contributor: Mael Kerbiriou <mael.kerbiriouATfreeDOTfr> +pkgname=pfstools +pkgver=2.0.3 +pkgrel=1 +pkgdesc="Set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images" +arch=('i686' 'x86_64') +url="http://pfstools.sourceforge.net/" +license=('LGPL2.1') +depends=('gcc-libs') +provides=('pfscalibration' 'pfstmo') +conflicts=('pfscalibration' 'pfstmo') +optdepends=('freeglut: OpenGL image viewer' 'glu: OpenGL image viewer' \ + 'qt4: Qt GUI' 'opencv: pfsalign' \ + 'openexr: OpenEXR support' 'imagemagick: ImageMagick support' \ + 'netpbm: PBM support' 'dcraw: RAW support' \ + 'gsl: mantiuk08 tone mapping operator' \ + 'fftw: durand02 tone mapping operator') +makedepends=('cmake' 'openexr' 'imagemagick' 'libtiff' 'freeglut' 'glu' 'netpbm' 'qt4') +options=(!libtool) +source=(http://downloads.sourceforge.net/pfstools/$pkgname-$pkgver.tgz) +md5sums=('c34b3df1f0950120138f13f521f2a5d6') + +build() { + cd "$srcdir"/$pkgname-$pkgver + mkdir -p build + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver/build + make DESTDIR="$pkgdir/" install + + cd "$pkgdir"/usr/bin + chmod 755 * +} |