summaryrefslogtreecommitdiff
path: root/community/darktable
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-04 23:11:10 +0000
committerroot <root@rshg047.dnsready.net>2011-07-04 23:11:10 +0000
commit9d2caacbc33de06407311a5da87e5d22e0266435 (patch)
treec0eb320a79d1e1943d2531e3fe3c1422367cb48d /community/darktable
parent067b127a853780b2b4ae7236dcdaaf72396dfa86 (diff)
Mon Jul 4 23:11:10 UTC 2011
Diffstat (limited to 'community/darktable')
-rw-r--r--community/darktable/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/darktable/PKGBUILD b/community/darktable/PKGBUILD
index 02737052e..aabee5e30 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')
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/"