[arch-commits] Commit in darktable/repos (2 files)

Bruno Pagani archange at archlinux.org
Sun Aug 19 09:42:13 UTC 2018


    Date: Sunday, August 19, 2018 @ 09:42:13
  Author: archange
Revision: 372760

archrelease: copy trunk to community-staging-x86_64

Added:
  darktable/repos/community-staging-x86_64/
  darktable/repos/community-staging-x86_64/PKGBUILD
    (from rev 372759, darktable/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: darktable/repos/community-staging-x86_64/PKGBUILD (from rev 372759, darktable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-19 09:42:13 UTC (rev 372760)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Christian Himpel <chressie at gmail dot com>
+# Contributor: Johannes Hanika <hanatos at gmail dot com>
+
+pkgname=darktable
+epoch=2
+pkgver=2.4.4
+pkgrel=2
+pkgdesc="Utility to organize and develop raw images"
+arch=('x86_64')
+url="https://darktable.org"
+license=('GPL3')
+depends=('pugixml' 'libjpeg-turbo' 'colord-gtk' 'libgphoto2' 'openexr' 'lensfun' 'iso-codes'
+         'exiv2' 'flickcurl' 'openjpeg2' 'graphicsmagick' 'lua' 'osm-gps-map' 'libsecret')
+makedepends=('cmake' 'intltool' 'desktop-file-utils' 'llvm' 'clang' 'python-jsonschema' 'libwebp')
+source=("https://github.com/darktable-org/darktable/releases/download/release-${pkgver}/darktable-${pkgver/rc/.rc}.tar.xz"{,.asc})
+sha256sums=('964320b8c9ffef680fa0407a6ca16ed5136ad1f449572876e262764e78acb04d'
+            'SKIP')
+validpgpkeys=('C4CBC150699956E2A3268EF5BB5CC8295B1779C9')
+
+prepare() {
+    mkdir -p build
+}
+
+build() {
+    cd build
+    cmake ../${pkgname}-${pkgver/rc/~rc} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DBINARY_PACKAGE_BUILD=1 \
+        -DBUILD_USERMANUAL=False \
+        -DUSE_LIBSECRET=On \
+        -DUSE_LUA=On \
+        -DUSE_COLORD=On \
+        -DPROJECT_VERSION=${pkgver}
+    make
+}
+
+package() {
+    cd build
+    make DESTDIR="${pkgdir}" install
+    ln -s darktable/libdarktable.so "${pkgdir}"/usr/lib/libdarktable.so
+}



More information about the arch-commits mailing list