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

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jul 26 05:56:40 UTC 2019


    Date: Friday, July 26, 2019 @ 05:56:40
  Author: yan12125
Revision: 492816

upgpkg: nextcloud-client 2.5.3-2

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

Modified:
  nextcloud-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-26 05:43:12 UTC (rev 492815)
+++ PKGBUILD	2019-07-26 05:56:40 UTC (rev 492816)
@@ -4,13 +4,14 @@
 
 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'
@@ -17,18 +18,20 @@
   '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 @@
 }
 
 package() {
-  cd desktop-$pkgver/build
+  cd $pkgname/build
 
   make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list