# $Id: PKGBUILD 90085 2013-05-06 19:39:21Z foutrelis $ # Maintainer: Lukas Jirkovsky # Contributor: Bogdan Szczurek # Contributor: Vaclav Kramar # Contributor: Archie pkgname=rawtherapee pkgver=4.0.10 pkgrel=4 epoch=1 pkgdesc="RAW photo editor" arch=('i686' 'x86_64' 'mips64el') 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=('cf18a503a978a29af6275e17f7aa67ba') 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 }