git » keepassxc.git » commit 7ac27df

upgpkg: 2.7.7-1: New upstream + Switch license to SPDX identifiers + add .nvechecker.toml

author Robin Candau
2024-03-11 14:24:08 UTC
committer Robin Candau
2024-03-11 14:24:08 UTC
parent 5cbc1f3b3eac9714142a76aa846ddfd5e4ee4d18

upgpkg: 2.7.7-1: New upstream + Switch license to SPDX identifiers + add .nvechecker.toml

.SRCINFO +6 -8
.nvchecker.toml +4 -0
PKGBUILD +6 -13

diff --git a/.SRCINFO b/.SRCINFO
index 6c2890b..c933690 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
 pkgbase = keepassxc
 	pkgdesc = Cross-platform community-driven port of Keepass password manager
-	pkgver = 2.7.6
-	pkgrel = 3
+	pkgver = 2.7.7
+	pkgrel = 1
 	url = https://keepassxc.org/
 	arch = x86_64
-	license = GPL
+	license = GPL-2.0-only OR GPL-3.0-only OR LGPL-2.1-only
 	checkdepends = xclip
 	checkdepends = xorg-server-xvfb
 	makedepends = asciidoctor
@@ -24,15 +24,13 @@ pkgbase = keepassxc
 	optdepends = xclip: keepassxc-cli clipboard support under X server
 	optdepends = wl-clipboard: keepassxc-cli clipboard support under Wayland
 	provides = org.freedesktop.secrets
-	source = https://github.com/keepassxreboot/keepassxc/releases/download/2.7.6/keepassxc-2.7.6-src.tar.xz
-	source = https://github.com/keepassxreboot/keepassxc/releases/download/2.7.6/keepassxc-2.7.6-src.tar.xz.sig
-	source = https://github.com/keepassxreboot/keepassxc/commit/cc0530ba.patch
+	source = https://github.com/keepassxreboot/keepassxc/releases/download/2.7.7/keepassxc-2.7.7-src.tar.xz
+	source = https://github.com/keepassxreboot/keepassxc/releases/download/2.7.7/keepassxc-2.7.7-src.tar.xz.sig
 	validpgpkeys = BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2
 	validpgpkeys = 71D4673D73C7F83C17DAE6A2D8538E98A26FD9C4
 	validpgpkeys = AF0AEA44ABAC8F1047733EA7AFF235EEFB5A2517
 	validpgpkeys = C1E4CBA3AD78D3AFD894F9E0B7A66F03B59076A8
-	sha256sums = a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670
+	sha256sums = 58fc45ae98e4b3ffb052103014f5b97a41fefd17102c7f56073934dd3a82ee67
 	sha256sums = SKIP
-	sha256sums = 7884a0425a5bf7e67d389d6b2545b06ee28b6d77e9164df13a8e78b5719d11ce
 
 pkgname = keepassxc
diff --git a/.nvchecker.toml b/.nvchecker.toml
new file mode 100644
index 0000000..878a7e7
--- /dev/null
+++ b/.nvchecker.toml
@@ -0,0 +1,4 @@
+[keepassxc]
+source = "github"
+github = "keepassxreboot/keepassxc"
+use_max_tag = true
diff --git a/PKGBUILD b/PKGBUILD
index 2124d4a..b3cf0f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
 # Maintainer: Robin Candau <antiz@archlinux.org>
 
 pkgname=keepassxc
-pkgver=2.7.6
-pkgrel=3
+pkgver=2.7.7
+pkgrel=1
 pkgdesc="Cross-platform community-driven port of Keepass password manager"
 arch=(x86_64)
 url="https://keepassxc.org/"
-license=(GPL)
+license=('GPL-2.0-only OR GPL-3.0-only OR LGPL-2.1-only')
 depends=(argon2 botan curl hicolor-icon-theme libxtst
          minizip pcsclite qrencode qt5-svg qt5-x11extras libusb)
 makedepends=(asciidoctor cmake qt5-tools)
@@ -16,22 +16,15 @@ optdepends=('xclip: keepassxc-cli clipboard support under X server'
             'wl-clipboard: keepassxc-cli clipboard support under Wayland')
 checkdepends=(xclip xorg-server-xvfb)
 provides=(org.freedesktop.secrets)
-source=(https://github.com/keepassxreboot/keepassxc/releases/download/$pkgver/keepassxc-$pkgver-src.tar.xz{,.sig}
-        https://github.com/keepassxreboot/keepassxc/commit/cc0530ba.patch)
-sha256sums=('a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670'
-            'SKIP'
-            '7884a0425a5bf7e67d389d6b2545b06ee28b6d77e9164df13a8e78b5719d11ce')
+source=(https://github.com/keepassxreboot/keepassxc/releases/download/$pkgver/keepassxc-$pkgver-src.tar.xz{,.sig})
+sha256sums=('58fc45ae98e4b3ffb052103014f5b97a41fefd17102c7f56073934dd3a82ee67'
+            'SKIP')
 # List of signing keys can be found at https://keepassxc.org/verifying-signatures/
 validpgpkeys=(BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2
               71D4673D73C7F83C17DAE6A2D8538E98A26FD9C4
               AF0AEA44ABAC8F1047733EA7AFF235EEFB5A2517
               C1E4CBA3AD78D3AFD894F9E0B7A66F03B59076A8)
 
-prepare() {
-# Fix build with botan 3.3
-  patch -d $pkgname-$pkgver -p1 < cc0530ba.patch
-}
-
 build() {
   cmake -S keepassxc-$pkgver -B build \
     -DCMAKE_BUILD_TYPE=Release \