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

Maxime Gauduin alucryd at archlinux.org
Thu Jun 21 07:46:55 UTC 2018


    Date: Thursday, June 21, 2018 @ 07:46:55
  Author: alucryd
Revision: 344251

upgpkg: pantheon-photos 0.2.5-1

Modified:
  pantheon-photos/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-21 07:46:47 UTC (rev 344250)
+++ PKGBUILD	2018-06-21 07:46:55 UTC (rev 344251)
@@ -2,21 +2,20 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=pantheon-photos
-pkgver=0.2.4
-pkgrel=2
+pkgver=0.2.5
+pkgrel=1
 pkgdesc='The Pantheon Photos Manager'
 arch=('x86_64')
 url='https://github.com/elementary/photos'
 license=('GPL3')
-depends=('cairo' 'gdk-pixbuf2' 'geocode-glib' 'glib2' 'glibc'
-         'gst-plugins-base-libs' 'gstreamer' 'gtk3' 'json-glib' 'libexif'
-         'libgee' 'libgexiv2' 'libgphoto2' 'libraw' 'libsoup' 'libxml2' 'pango'
-         'rest' 'sqlite'
+depends=('cairo' 'gdk-pixbuf2' 'geocode-glib' 'glib2' 'gst-plugins-base-libs'
+         'gstreamer' 'gtk3' 'json-glib' 'libexif' 'libgee' 'libgexiv2'
+         'libgphoto2' 'libraw' 'libsoup' 'libxml2' 'pango' 'rest' 'sqlite'
          'libgranite.so' 'libgudev-1.0.so')
-makedepends=('cmake' 'intltool' 'vala' 'webkit2gtk')
+makedepends=('cmake' 'git' 'intltool' 'vala' 'webkit2gtk')
 optdepends=('webkit2gtk: Publishing plugins')
-source=("pantheon-photos-${pkgver}.tar.gz::https://github.com/elementary/photos/archive/${pkgver}.tar.gz")
-sha256sums=('99761b9d6c05292671edef498483ac802d89acf848898bf2c8876825415845e4')
+source=("pantheon-photos::git+https://github.com/elementary/photos.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
 prepare() {
   if [[ -d build ]]; then
@@ -28,7 +27,7 @@
 build() {
   cd build
 
-  cmake ../photos-${pkgver} \
+  cmake ../pantheon-photos \
     -DCMAKE_BUILD_TYPE='Release' \
     -DCMAKE_INSTALL_PREFIX='/usr' \
     -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
@@ -38,9 +37,7 @@
 }
 
 package() {
-  cd build
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C build install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list