git » nextcloud-client.git » commit 810193e

Stealth update :/

author Chih-Hsuan Yen
2019-07-26 05:56:40 UTC
committer Chih-Hsuan Yen
2019-07-26 05:56:40 UTC
parent 384cc101b21c3cf2bb8d9dfa5db3ad397a5c0206

Stealth update :/


When I was packaging 2.5.3-1, upstream tag v2.5.3 points to [1], and the tag
is moved to [2] now.

Also switched to git-based repository to allow PGP verification.

[1] https://github.com/nextcloud/desktop/commit/50be2e067c115b84c34f23e13623cdfd358eb8e8
[2] https://github.com/nextcloud/desktop/commit/477614b8c954836327eb136be1c035627f09760b

PKGBUILD +10 -7

diff --git a/PKGBUILD b/PKGBUILD
index 60d9efe..76e55ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,31 +4,34 @@
 
 pkgname=nextcloud-client
 pkgver=2.5.3
-pkgrel=1
+_commit=477614b8c954836327eb136be1c035627f09760b
+pkgrel=2
 pkgdesc='Nextcloud desktop client'
 arch=(x86_64)
 url='https://nextcloud.com/'
 license=(GPL)
 depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils)
-makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools git)
 optdepends=(
   'kio: integration with Dolphin'
   'nemo-python: integration with Nemo'
   'python-nautilus: integration with Nautilus'
   'python2-caja: integration with Caja'
 )
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz")
-sha256sums=('d1b6d991b579c961370c6a1fcc883272ad92588e86dc157ca61dfccc7e315f9f')
+source=("$pkgname::git+https://github.com/nextcloud/desktop.git?signed#commit=$_commit")
+# one of keys controlled by @camilasan; see https://api.github.com/users/camilasan/gpg_keys
+validpgpkeys=(A26B951528EA1BA1678C7AE5D406C75CEE1A36D6)
+sha256sums=('SKIP')
 backup=('etc/Nextcloud/sync-exclude.lst')
 
 prepare() {
-  cd desktop-$pkgver
+  cd $pkgname
 
   mkdir -p build
 }
 
 build() {
-  cd desktop-$pkgver/build
+  cd $pkgname/build
 
   cmake \
     -DCMAKE_INSTALL_PREFIX=/usr \
@@ -41,7 +44,7 @@ build() {
 }
 
 package() {
-  cd desktop-$pkgver/build
+  cd $pkgname/build
 
   make DESTDIR="$pkgdir" install
 }