Created
January 27, 2015 14:45
-
-
Save Piezoid/1192b14b06668680d9f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> | |
| # Contributor: Brandon Andrews <bsa@bsa.isa-geek.com> | |
| pkgname=pfstools | |
| pkgver=2.0.0 | |
| 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=('openexr' 'imagemagick' 'libtiff' 'freeglut' 'glu' 'netpbm' 'qt4') | |
| options=(!libtool) | |
| source=(http://downloads.sourceforge.net/pfstools/$pkgname-$pkgver.tgz) | |
| md5sums=('8d920dbef72802d16495e800082d62d6') | |
| 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 * | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment