From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/gimp-ufraw/PKGBUILD | 43 +++++++++++++++++++++++++++++++++ community/gimp-ufraw/gimp-ufraw.install | 13 ++++++++++ 2 files changed, 56 insertions(+) create mode 100644 community/gimp-ufraw/PKGBUILD create mode 100644 community/gimp-ufraw/gimp-ufraw.install (limited to 'community/gimp-ufraw') diff --git a/community/gimp-ufraw/PKGBUILD b/community/gimp-ufraw/PKGBUILD new file mode 100644 index 000000000..5adf7b8b2 --- /dev/null +++ b/community/gimp-ufraw/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 90037 2013-05-06 19:37:26Z foutrelis $ +# Maintainer: Alexander Rødseth +# Contributor: Tobias Kieslich +# Contributor: Martin Sugioarto + +pkgname=gimp-ufraw +pkgver=0.19 +pkgrel=2 +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=('12d551418c5e69ae904cb92e9ac11b4d2e4327a857ee13ac890f34320eb58b9a') + +build() { + cd "$srcdir/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 "$srcdir/ufraw-$pkgver" + + make DESTDIR="$pkgdir" install + rm -f "$pkgdir/usr/bin/dcraw" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/gimp-ufraw/gimp-ufraw.install b/community/gimp-ufraw/gimp-ufraw.install new file mode 100644 index 000000000..3b232eeb7 --- /dev/null +++ b/community/gimp-ufraw/gimp-ufraw.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf