[arch-general] gimp ufraw update

Philipp hollunder at lavabit.com
Wed Feb 23 17:08:45 EST 2011


Hi there.
I'm playing with digital photos atm., found ufraw and found that it's
out of date since a long while.
Here's my take on updating it:

# $Id: PKGBUILD 96307 2010-10-19 21:03:01Z ibiru $
# Maintainer: Tobias Kieslich <tobias at archlinux.org>

pkgname=gimp-ufraw
_srcname=ufraw
pkgver=0.18
pkgrel=1
pkgdesc="Standalone or gimp plugin converter for raw files"
url="http://ufraw.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('gtkimageview' 'exiv2' 'lensfun')
makedepends=('gimp' 'cinepaint' 'pkgconfig')
optdepends=('gimp: to use the gimp import plugin for raw images'
        'cinepaint: to use the cinepaint import plugin for raw images')
source=(http://downloads.sourceforge.net/${_srcname}/${_srcname}-${pkgver}.tar.gz)
md5sums=('454f40a402928998a82e2645d9265d96')

build() {
  cd "${srcdir}/${_srcname}-${pkgver}"

  ./configure --prefix=/usr \
              --enable-extras \
              --enable-mime \
              --enable-openmp
  make
}

package() {
  cd ${srcdir}/${_srcname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  rm -f ${pkgdir}/usr/bin/dcraw
}

Lensfun is a new dependency, not sure it is needed
(http://ufraw.sourceforge.net/index.html).
The last configure option simply didn't exist and I removed the sed line
(assuming upstream know what they're doing).
In my opinion the package name should be ufraw rather than gimp-ufraw
since this package enables ufraw standalone, in batch-mode and as
'plug-in' for cinepaint and gimp.

HTH
Philipp



More information about the arch-general mailing list