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

Sergej Pupykin spupykin at archlinux.org
Wed Nov 16 19:09:13 UTC 2016


    Date: Wednesday, November 16, 2016 @ 19:09:12
  Author: spupykin
Revision: 196058

upgpkg: darktable 2:2.2.0rc0-1

upd

Modified:
  darktable/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-16 19:04:19 UTC (rev 196057)
+++ PKGBUILD	2016-11-16 19:09:12 UTC (rev 196058)
@@ -5,7 +5,7 @@
 
 pkgname=darktable
 epoch=2
-pkgver=2.0.7
+pkgver=2.2.0rc0
 pkgrel=1
 pkgdesc="Utility to organize and develop raw images"
 arch=('i686' 'x86_64')
@@ -19,12 +19,12 @@
 optdepends=('librsvg' 'osm-gps-map' 'libcups')
 validpgpkeys=('C4CBC150699956E2A3268EF5BB5CC8295B1779C9')
 # even releases are stable, do not change source url!
-source=("https://github.com/darktable-org/darktable/releases/download/release-$pkgver/darktable-$pkgver.tar.xz"{,.asc})
-sha256sums=('a9226157404538183549079e3b8707c910fedbb669bd018106bdf584b88a1dab'
+source=("https://github.com/darktable-org/darktable/releases/download/release-${pkgver}/darktable-${pkgver/rc/.rc}.tar.xz"{,.asc})
+sha256sums=('a084ef367b1a1b189ad11a6300f7e0cadb36354d11bf0368de7048c6a0732229'
             'SKIP')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-${pkgver/rc/~rc}"
   mkdir -p build
   cd build
   CXXFLAGS+=" -fpermissive"
@@ -48,7 +48,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
+  cd "$srcdir/$pkgname-${pkgver/rc/~rc}/build"
   make DESTDIR="$pkgdir" install
   ln -s darktable/libdarktable.so "$pkgdir/usr/lib/libdarktable.so"
   install -Dm0755 ../tools/basecurve/dt-curve-tool "$pkgdir"/usr/bin/dt-curve-tool



More information about the arch-commits mailing list