summaryrefslogtreecommitdiff
path: root/community/darktable/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-05 11:13:20 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-05 11:13:20 -0300
commit146089324f75f90dfbb90d781a084f0e1dac3e70 (patch)
treecb22ca86efa201d835ad252b25119722df815979 /community/darktable/PKGBUILD
parent11a1b08acdd527368c28d3a7308cb65496aaa2a4 (diff)
parent9d2caacbc33de06407311a5da87e5d22e0266435 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: libre/kernel26-libre/PKGBUILD
Diffstat (limited to 'community/darktable/PKGBUILD')
-rw-r--r--community/darktable/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/darktable/PKGBUILD b/community/darktable/PKGBUILD
index 72284623a..6b587a5ae 100644
--- a/community/darktable/PKGBUILD
+++ b/community/darktable/PKGBUILD
@@ -1,28 +1,27 @@
-# $Id: PKGBUILD 44530 2011-04-08 06:00:34Z spupykin $
+# $Id: PKGBUILD 50957 2011-07-03 16:56:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Christian Himpel <chressie at gmail dot com>
# Contributor: Johannes Hanika <hanatos at gmail dot com>
pkgname=darktable
-pkgver=0.8
-pkgrel=3
+pkgver=0.9
+pkgrel=1
pkgdesc="Utility to organize and develop raw images"
arch=('i686' 'x86_64' 'mips64el')
url=http://darktable.sf.net/
license=('GPL3')
depends=('exiv2>=0.18' 'gconf>=2.26' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade'
'curl' 'libgnome-keyring' 'libgphoto2' 'libusb-compat' 'openexr')
-makedepends=('intltool>=0.40')
+makedepends=('intltool>=0.40' 'cmake' 'sqlite3')
optdepends=( 'librsvg')
install=darktable.install
options=(!libtool)
-source=(http://downloads.sourceforge.net/project/darktable/darktable/0.8/darktable-$pkgver.tar.gz)
-md5sums=('1724601b0d7012a414f5398e5029cb45')
+source=(http://downloads.sourceforge.net/project/darktable/darktable/$pkgver/darktable-$pkgver.tar.gz)
+md5sums=('02397e09464a9084403270607133b5b5')
build() {
cd $srcdir/$pkgname-$pkgver
-
- mkdir build || true
+ mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -31,10 +30,12 @@ build() {
-DDONT_INSTALL_GCONF_SCHEMAS=True \
-DBINARY_PACKAGE_BUILD=1 \
..
-
make
- make DESTDIR=$pkgdir install
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver/build
+ make DESTDIR=$pkgdir install
mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
mkdir -p "${pkgdir}/usr/share/gconf/schemas/"
mv "${pkgdir}/etc/gconf/schemas/darktable.schemas" "${pkgdir}/usr/share/gconf/schemas/"