summaryrefslogtreecommitdiff
path: root/community/rawtherapee/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rawtherapee/PKGBUILD')
-rw-r--r--community/rawtherapee/PKGBUILD36
1 files changed, 7 insertions, 29 deletions
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 <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.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
}