diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
commit | fc353061e3e6b3e8542d2000b89ca2ecfc604b1b (patch) | |
tree | 615f9efcdc5cf45213866013e12c2293f69e2a69 /nonprism/darktable/PKGBUILD | |
parent | 0873eff3fe57c9e108ef0cf5f5b700bbb449629a (diff) | |
parent | 448c73d26577be3e04afda7364e3a7b3782b64cc (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'nonprism/darktable/PKGBUILD')
-rw-r--r-- | nonprism/darktable/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nonprism/darktable/PKGBUILD b/nonprism/darktable/PKGBUILD new file mode 100644 index 000000000..0c25441c7 --- /dev/null +++ b/nonprism/darktable/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 111322 2014-05-16 15:51:54Z spupykin $ +# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer (Arch): Christian Himpel <chressie at gmail dot com> +# Contributor (Arch): Johannes Hanika <hanatos at gmail dot com> + +pkgname=darktable +pkgver=1.4.2 +_pkgver=1.4 +pkgrel=3.nonprism1 +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}-nonprism) +conflicts=(${pkgname}-nonprism) +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=('f86554329c2c809ffb009244a6f1d643') + +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}" +} |