diff options
author | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
commit | 1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch) | |
tree | 2305b950a3c94970b05c1a38af473f5cca95af02 /community/gimp-ufraw | |
parent | b9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff) |
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'community/gimp-ufraw')
-rw-r--r-- | community/gimp-ufraw/PKGBUILD | 34 | ||||
-rw-r--r-- | community/gimp-ufraw/gimp-ufraw.install | 11 |
2 files changed, 45 insertions, 0 deletions
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 <tobias@archlinux.org> + +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" +} diff --git a/community/gimp-ufraw/gimp-ufraw.install b/community/gimp-ufraw/gimp-ufraw.install new file mode 100644 index 000000000..80312d4a6 --- /dev/null +++ b/community/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 +} |