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

Sergej Pupykin spupykin at archlinux.org
Thu Dec 24 11:57:03 UTC 2015


    Date: Thursday, December 24, 2015 @ 12:57:02
  Author: spupykin
Revision: 154441

upgpkg: darktable 2.0.0-1

upd

Modified:
  darktable/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-24 11:54:27 UTC (rev 154440)
+++ PKGBUILD	2015-12-24 11:57:02 UTC (rev 154441)
@@ -4,8 +4,8 @@
 # Contributor: Johannes Hanika <hanatos at gmail dot com>
 
 pkgname=darktable
-pkgver=1.6.9
-pkgrel=2
+pkgver=2.0.0
+pkgrel=1
 pkgdesc="Utility to organize and develop raw images"
 arch=('i686' 'x86_64')
 url=http://darktable.sf.net/
@@ -12,19 +12,13 @@
 license=('GPL3')
 depends=('exiv2>=0.18' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'dbus-glib'
 	 'curl' 'libsecret' 'libgphoto2' 'openexr' 'sqlite' 'libxslt'
-	 'libsoup' 'gtk-engines' 'json-glib' 'flickcurl' 'lua52' 'colord')
+	 'libsoup' 'gtk3' 'pugixml' 'gtk-engines' 'json-glib' 'flickcurl' 'lua52' 'colord')
 makedepends=('intltool>=0.40' 'cmake' 'librsvg')
 optdepends=('librsvg')
 install=darktable.install
 source=("$pkgname-$pkgver.tar.gz::https://github.com/darktable-org/darktable/archive/release-$pkgver.tar.gz")
-md5sums=('11f9ef6084077ab06b76ec99d2afb6ef')
+md5sums=('1a95dd4d7dce7c9d76988d0cca003a5f')
 
-prepare() {
-  cd "$srcdir/$pkgname-release-$pkgver/cmake"
-  sed "s|@PROJECT_VERSION@|$pkgver|" version.cmake.cmake >version.cmake
-#  sed -i 's|lua5.2|lua52|g' modules/FindLua52.cmake
-}
-
 build() {
   cd "$srcdir/$pkgname-release-$pkgver"
   mkdir -p build
@@ -41,7 +35,10 @@
       -DUSE_COLORD=On \
       ..
   make
-  make -C ../tools/basecurve
+
+  cd ../tools/basecurve
+  cmake .
+  make
 }
 
 package() {
@@ -49,5 +46,4 @@
   make DESTDIR="$pkgdir" install
   install -Dm0755 ../tools/basecurve/dt-curve-tool $pkgdir/usr/bin/dt-curve-tool
   install -Dm0755 ../tools/basecurve/dt-curve-tool-helper $pkgdir/usr/bin/dt-curve-tool-helper
-  mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
 }



More information about the arch-commits mailing list