Date: Sunday, October 29, 2017 @ 17:17:09 Author: alucryd Revision: 264671
upgpkg: pantheon-photos 0.2.4-1 Modified: pantheon-photos/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-10-29 16:41:25 UTC (rev 264670) +++ PKGBUILD 2017-10-29 17:17:09 UTC (rev 264671) @@ -2,11 +2,11 @@ # Maintainer: Maxime Gauduin <[email protected]> pkgname=pantheon-photos -pkgver=0.2.2 +pkgver=0.2.4 pkgrel=1 pkgdesc='The Pantheon Photos Manager' arch=('i686' 'x86_64') -url='https://launchpad.net/pantheon-photos' +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' @@ -15,12 +15,10 @@ 'libgranite.so' 'libgudev-1.0.so') makedepends=('cmake' 'intltool' 'vala' 'webkit2gtk') optdepends=('webkit2gtk: Publishing plugins') -source=("https://launchpad.net/pantheon-photos/0.2.x/${pkgver}/+download/pantheon-photos-${pkgver}.tar.xz") -sha256sums=('f5718de48c33026ff0bff5e9b702a2b0de8a6453a49feec388588aa3aa9eec3d') +source=("pantheon-photos-${pkgver}.tar.gz::https://github.com/elementary/photos/archive/${pkgver}.tar.gz") +sha256sums=('99761b9d6c05292671edef498483ac802d89acf848898bf2c8876825415845e4') prepare() { - cd pantheon-photos-${pkgver} - if [[ -d build ]]; then rm -rf build fi @@ -28,9 +26,9 @@ } build() { - cd pantheon-photos-${pkgver}/build + cd build - cmake .. \ + cmake ../photos-${pkgver} \ -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ @@ -40,7 +38,7 @@ } package() { - cd pantheon-photos-${pkgver}/build + cd build make DESTDIR="${pkgdir}" install }
