From 3d65494a8eda056377febda4642ce992e69a9371 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Apr 2012 00:01:17 +0000 Subject: Sat Apr 7 00:01:16 UTC 2012 --- community/rawtherapee/PKGBUILD | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) (limited to 'community/rawtherapee/PKGBUILD') diff --git a/community/rawtherapee/PKGBUILD b/community/rawtherapee/PKGBUILD index cb30236db..296fe740b 100644 --- a/community/rawtherapee/PKGBUILD +++ b/community/rawtherapee/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 63728 2012-02-05 12:09:41Z ibiru $ +# $Id: PKGBUILD 68906 2012-04-05 13:36:30Z stativ $ # Maintainer: Lukas Jirkovsky # Contributor: Bogdan Szczurek # Contributor: Vaclav Kramar # Contributor: Archie pkgname=rawtherapee -pkgver=4.0.7 +pkgver=4.0.8 pkgrel=1 pkgdesc="RAW photo editor" arch=('i686' 'x86_64') @@ -14,41 +14,19 @@ license=('GPL3') depends=('gtkmm' 'libiptcdata' 'lcms2' 'desktop-file-utils' 'hicolor-icon-theme') makedepends=('mercurial' 'cmake') install=rawtherapee.install -source=() -md5sums=() - -_root="https://rawtherapee.googlecode.com/hg/" -_repo="rawtherapee" +source=("http://rawtherapee.googlecode.com/files/rawtherapee-source-$pkgver.tar.xz") +md5sums=('27b988200c5ff3f2863e1d83200657b2') build() { - cd "$srcdir" - msg "Connecting to Mercurial server...." - - if [ -d $_repo ] ; then - cd $_repo - hg pull - hg up "$pkgver" - msg "The local files are updated." - else - hg clone -u "$pkgver" $_root $_repo - fi - - msg "Mercurial checkout done or server timeout" - msg "Starting make..." - - if [ -e "$srcdir/$_repo-build" ]; then - rm -rf "$srcdir/$_repo-build" - fi - mkdir "$srcdir/$_repo-build" - cd "$srcdir/$_repo-build" + cd "$srcdir/$pkgname-$pkgver" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ - ../$_repo + . make } package() { - cd "$srcdir/$_repo-build" + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } -- cgit v1.2.3-54-g00ecf