summaryrefslogtreecommitdiff
path: root/community/rawtherapee/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-06 23:38:28 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-06 23:38:28 -0300
commit750a8fc982e640e6ef62f80afd99469959f407ad (patch)
treecfc482b7afcc4e3502e67578825c439ee296b2d5 /community/rawtherapee/PKGBUILD
parent2781491d77559e5a9f0e0d26698d91da745f14f3 (diff)
parent3d65494a8eda056377febda4642ce992e69a9371 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/kmod/PKGBUILD multilib/lib32-libpng/PKGBUILD testing/baobab/PKGBUILD testing/empathy/PKGBUILD testing/libgdata/PKGBUILD testing/telepathy-farstream/PKGBUILD testing/telepathy-haze/PKGBUILD
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 c717868f4..3039561dc 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' 'mips64el')
@@ -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
}