diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/rawtherapee | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/rawtherapee')
-rw-r--r-- | community/rawtherapee/PKGBUILD | 34 | ||||
-rw-r--r-- | community/rawtherapee/rawtherapee.install | 17 |
2 files changed, 51 insertions, 0 deletions
diff --git a/community/rawtherapee/PKGBUILD b/community/rawtherapee/PKGBUILD new file mode 100644 index 000000000..895426e9b --- /dev/null +++ b/community/rawtherapee/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 92590 2013-06-09 15:08:48Z stativ $ +# Maintainer: Lukas Jirkovsky <l.jirkovsky AT gmail.com> +# Contributor: Bogdan Szczurek <thebodzio(at)gmail.com> +# Contributor: Vaclav Kramar <vaclav.kramar@tiscali.cz> +# Contributor: Archie <mymaud@gmail.com> + +pkgname=rawtherapee +pkgver=4.0.11 +pkgrel=1 +epoch=1 +pkgdesc="RAW photo editor" +arch=('i686' 'x86_64') +url="http://www.rawtherapee.com/" +license=('GPL3') +depends=('fftw' 'gtkmm' 'libcanberra' 'libiptcdata' 'lcms2' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('cmake') +install=rawtherapee.install +source=("http://rawtherapee.googlecode.com/files/rawtherapee-$pkgver.tar.xz") +md5sums=('d30a54e6446326d8299c06ec76c281d8') + +build() { + mkdir "$srcdir/$pkgname-build" + cd "$srcdir/$pkgname-build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-build" + make DESTDIR="$pkgdir/" install +} diff --git a/community/rawtherapee/rawtherapee.install b/community/rawtherapee/rawtherapee.install new file mode 100644 index 000000000..6a18adf6e --- /dev/null +++ b/community/rawtherapee/rawtherapee.install @@ -0,0 +1,17 @@ +post_install() { + echo "update desktop mime database..." + update-desktop-database -q + update-mime-database usr/share/mime 1>&2 > /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + + +# vim:set ts=2 sw=2 et: |