summaryrefslogtreecommitdiff
path: root/community/darktable/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/darktable/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/darktable/PKGBUILD')
-rw-r--r--community/darktable/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/darktable/PKGBUILD b/community/darktable/PKGBUILD
new file mode 100644
index 000000000..54783a2ef
--- /dev/null
+++ b/community/darktable/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 40344 2011-02-23 07:36:36Z ebelanger $
+# 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=2
+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')
+optdepends=( 'librsvg')
+install=darktable.install
+options=(!libtool)
+source=(http://downloads.sourceforge.net/project/darktable/darktable/0.8/darktable-$pkgver.tar.gz)
+md5sums=('1724601b0d7012a414f5398e5029cb45')
+sha1sums=('9a28cbb6ae63ddffaf983eecd2c7c00b8960e136')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ mkdir build || true
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_USERMANUAL=False \
+ -DDONT_INSTALL_GCONF_SCHEMAS=True \
+ ..
+
+ make
+ 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/"
+}