updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / darktable-no-gconf / PKGBUILD
blob86dc36e691f8ce53cfae5dd94d051e488ae296b8
1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # Based on community package: darktable
4 pkgname=darktable-no-gconf
5 pkgver=0.9.3
6 _pkgver=0.9
7 pkgrel=1
8 pkgdesc="Utility to organize and develop raw images, with gconf disabled"
9 arch=('i686' 'x86_64')
10 url=http://darktable.sf.net/
11 license=('GPL3')
12 depends=('exiv2>=0.18' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'curl'
13          'libgnome-keyring' 'libgphoto2' 'libusb-compat' 'openexr' 'sqlite3')
14 makedepends=('intltool>=0.40' 'cmake' 'sqlite3')
15 optdepends=( 'librsvg')
16 provides=('darktable')
17 conflicts=('darktable')
18 install=darktable.install
19 options=(!libtool)
20 source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.gz)
21 md5sums=('49253a3a2990a4bf8e0b0a19295f19bd')
23 build() {
24   cd $srcdir/darktable-$pkgver
25   mkdir -p build
26   cd build
27   cmake \
28       -DCMAKE_INSTALL_PREFIX=/usr \
29       -DCMAKE_BUILD_TYPE=Release \
30       -DDONT_INSTALL_GCONF_SCHEMAS=On \
31       -DUSE_GCONF_BACKEND=Off \
32       ..
33   make
36 package() {
37   cd $srcdir/darktable-$pkgver/build
38   make DESTDIR=$pkgdir install