[arch-commits] Commit in darktable/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat Apr 18 12:33:53 UTC 2020


    Date: Saturday, April 18, 2020 @ 12:33:53
  Author: foxboron
Revision: 616066

upgpkg: darktable 2:3.0.2-1

Modified:
  darktable/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-18 12:33:00 UTC (rev 616065)
+++ PKGBUILD	2020-04-18 12:33:53 UTC (rev 616066)
@@ -6,7 +6,7 @@
 
 pkgname=darktable
 epoch=2
-pkgver=3.0.1
+pkgver=3.0.2
 pkgrel=1
 pkgdesc="Utility to organize and develop raw images"
 arch=(x86_64)
@@ -20,19 +20,23 @@
             'ghostscript: noise profile script'
             'gnuplot: noise profile script')
 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=('c54b3921da14a97c99ab2f79feca468cf2abca65adf907dba6216e47edab7cb7'
-            'SKIP')
+source=("https://github.com/darktable-org/darktable/releases/download/release-${pkgver}/darktable-${pkgver/rc/.rc}.tar.xz"{,.asc}
+        "fix-cmake.patch::https://github.com/darktable-org/darktable/commit/767d48e0f60e7f858e8b31a88dd8cc1258e7ee9e.patch")
+sha256sums=('6abaf661fe9414e92bdb33b58b98ef024ccf6132b7876abaf0751ec2109f36fb'
+            'SKIP'
+            'cdcaf17a362c4fc551ede3ebc0933e48e20185a9fad2c18a025f0414c180ef0d')
 validpgpkeys=(C4CBC150699956E2A3268EF5BB5CC8295B1779C9  # darktable releases <release at darktable.org>
               F10F9686652B0E949FCD94C318DCA123F949BD3B) # Pascal Obry <pascal at obry.net>
 
 prepare() {
     mkdir -p build
+    cd "${pkgname}-${pkgver}"
+    patch -Np1 < "../fix-cmake.patch"
 }
 
 build() {
     cd build
-    cmake ../${pkgname}-${pkgver/rc/~rc} \
+    cmake ../${pkgname}-${pkgver} \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_LIBDIR=/usr/lib \
         -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \



More information about the arch-commits mailing list