From 1b9f6dc846379470b620b5dbb9d4d7acd1de148c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jan 2013 00:05:59 -0800 Subject: Mon Jan 28 00:05:59 PST 2013 --- community/gimp-ufraw/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 community/gimp-ufraw/PKGBUILD (limited to 'community/gimp-ufraw/PKGBUILD') diff --git a/community/gimp-ufraw/PKGBUILD b/community/gimp-ufraw/PKGBUILD new file mode 100644 index 000000000..b47b112eb --- /dev/null +++ b/community/gimp-ufraw/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 83146 2013-01-27 16:15:51Z pierre $ +# Maintainer: Tobias Kieslich + +pkgname=gimp-ufraw +pkgver=0.18 +pkgrel=5 +pkgdesc="Standalone or gimp plugin converter for raw files" +url="http://ufraw.sourceforge.net/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtkimageview' 'exiv2' 'lcms' 'bzip2' 'desktop-file-utils') +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=gimp-ufraw.install +source=(http://downloads.sourceforge.net/ufraw/ufraw-${pkgver}.tar.gz) +sha1sums=('41c9ad7aa7f1cbb63a6b0b330b3599b18a7e8cd2') + +build() { + cd "${srcdir}/ufraw-${pkgver}" + + ./configure --prefix=/usr \ + --enable-extras \ + --enable-mime \ + --enable-openmp + sed -i "s/-ffast-math -fomit-frame-pointer -W -Wall -O3/${CFLAGS}/" Makefile + make +} + +package() { + cd "${srcdir}/ufraw-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/bin/dcraw" +} -- cgit v1.2.3-54-g00ecf