blob: 2f4b6ecca0aca2083a20d34a404b10da8a5fdb24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 105572 2014-02-10 13:31:04Z 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
pkgname=darktable-nonprism
pkgver=1.4.1
_pkgver=1.4
pkgrel=1
pkgdesc="Utility to organize and develop raw images, without flickcurl support"
arch=('i686' 'x86_64' 'mips64el')
url=http://darktable.sf.net/
license=('GPL3')
replaces=$_pkgname
conflicts=$_pkgname
provides=$_pkgname=$pkgver
depends=('exiv2>=0.18' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'dbus-glib'
'curl' 'libgnome-keyring' 'libgphoto2' 'openexr' 'sqlite' 'libxslt'
'libsoup' 'gtk-engines' 'json-glib')
makedepends=('intltool>=0.40' 'cmake' 'librsvg')
optdepends=('librsvg')
install=darktable.install
source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.xz)
md5sums=('78252618bb7b1df30109ef5484d46f3c')
build() {
cd "$srcdir/$_pkgname-$pkgver"
mkdir -p build
cd build
CXXFLAGS+=" -fpermissive"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DDONT_INSTALL_GCONF_SCHEMAS=True \
-DBINARY_PACKAGE_BUILD=1 \
-DUSE_GCONF_BACKEND=Off \
-DBUILD_USERMANUAL=False \
..
make
}
package() {
cd "$srcdir/$_pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${_pkgname}-${pkgver}"
}
|