diff options
author | root <root@rshg054.dnsready.net> | 2011-10-03 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-03 23:14:36 +0000 |
commit | 57d05f7209f022aa99a8850aafbeec4cb85c3b5b (patch) | |
tree | 8f6753258e8359d1314356a677cdb32ae94658ab /staging/gimp-ufraw | |
parent | ad84169d66d20378d28533c216b73c9a6646d6d7 (diff) |
Mon Oct 3 23:14:36 UTC 2011
Diffstat (limited to 'staging/gimp-ufraw')
-rw-r--r-- | staging/gimp-ufraw/PKGBUILD | 35 | ||||
-rw-r--r-- | staging/gimp-ufraw/gimp-ufraw.install | 11 |
2 files changed, 46 insertions, 0 deletions
diff --git a/staging/gimp-ufraw/PKGBUILD b/staging/gimp-ufraw/PKGBUILD new file mode 100644 index 000000000..1f88b9839 --- /dev/null +++ b/staging/gimp-ufraw/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 139504 2011-10-02 13:50:06Z eric $ +# Maintainer: Tobias Kieslich <tobias@archlinux.org> + +pkgname=gimp-ufraw +pkgver=0.18 +pkgrel=2 +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) +md5sums=('454f40a402928998a82e2645d9265d96') +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" +} diff --git a/staging/gimp-ufraw/gimp-ufraw.install b/staging/gimp-ufraw/gimp-ufraw.install new file mode 100644 index 000000000..80312d4a6 --- /dev/null +++ b/staging/gimp-ufraw/gimp-ufraw.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +} |