# $Id: PKGBUILD 108091 2014-03-22 16:40:00Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Tobias Kieslich # Contributor: Martin Sugioarto pkgname=gimp-ufraw pkgver=0.19.2 pkgrel=1 pkgdesc='Converter for raw files; utility and GIMP plugin' url='http://ufraw.sourceforge.net/' arch=('x86_64' 'i686') license=('GPL') depends=('gtkimageview' 'exiv2' 'lcms' 'bzip2' 'desktop-file-utils' 'cfitsio' 'lensfun') makedepends=('gimp' 'cinepaint') optdepends=('gimp: to use the gimp import plugin for raw images' 'cinepaint: to use the cinepaint import plugin for raw images') install="$pkgname.install" source=("http://downloads.sourceforge.net/ufraw/ufraw-$pkgver.tar.gz") sha256sums=('73befe9f16f015a8c0f26cef3bb2e17cac9ae64aef2ade48c29aedb1ee51abd3') prepare() { # One of the include files that comes with cinepaint looks for ../lib/wire/... mkdir -p lib ln -s /usr/include/cinepaint/wire lib/wire } build() { cd "ufraw-$pkgver" ./configure \ --prefix=/usr \ --enable-extras \ --enable-mime \ --enable-openmp \ --with-gimp \ --with-cinepaint \ --enable-contrast sed -i "s/-ffast-math -fomit-frame-pointer -W -Wall -O3/${CFLAGS}/" Makefile make } package() { cd "ufraw-$pkgver" make DESTDIR="$pkgdir" install rm -f "$pkgdir/usr/bin/dcraw" } # vim:set ts=2 sw=2 et: