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

Bruno Pagani archange at archlinux.org
Wed Mar 20 13:41:25 UTC 2019


    Date: Wednesday, March 20, 2019 @ 13:41:24
  Author: archange
Revision: 442962

upgpkg: keepassxc 2.4.0-1

Switch to git based building since signed tarball are not provided anymore.

Modified:
  keepassxc/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-20 13:03:41 UTC (rev 442961)
+++ PKGBUILD	2019-03-20 13:41:24 UTC (rev 442962)
@@ -2,18 +2,21 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=keepassxc
-pkgver=2.3.4
+pkgver=2.4.0
 pkgrel=1
 pkgdesc="Cross-platform community-driven port of Keepass password manager"
 arch=(x86_64)
 url="https://keepassxc.org/"
 license=(GPL)
-depends=(hicolor-icon-theme libgcrypt argon2 libsodium libxtst qt5-x11extras yubikey-personalization curl)
-makedepends=(cmake qt5-tools)
-source=("https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"{,.sig})
-sha256sums=('0c24a78895185b9b6b098f08a15b332c600f80aa570d608940fcc2a38e02780a'
-            'SKIP')
-validpgpkeys=('BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2') # KeePassXC Release <release at keepassxc.org>
+depends=(hicolor-icon-theme libgcrypt argon2 libsodium
+         libxtst qt5-svg qt5-x11extras
+         yubikey-personalization curl qrencode)
+makedepends=(git cmake qt5-tools)
+_tag=302f7a76f70f1e09318f903b3e38d4d0c504bee6 # git rev-parse ${pkgver}
+source=("git+https://github.com/keepassxreboot/keepassxc#tag=${_tag}?signed")
+sha256sums=('SKIP')
+validpgpkeys=('BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2'  # KeePassXC Release <release at keepassxc.org>
+              '3489040C1F0C3EEAB8D556A5440FC65F2E0C6E01') # Jonathan White <support at dmapps.us>
 
 prepare() {
 	mkdir -p build
@@ -21,7 +24,7 @@
 
 build() {
 	cd build
-	cmake ../$pkgname-$pkgver \
+	cmake ../${pkgname} \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=lib \
@@ -36,5 +39,5 @@
 
 package() {
 	cd build
-	make DESTDIR="$pkgdir" install
+	make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list