author | Antonio Rojas
<arojas@archlinux.org> 2024-02-21 07:54:06 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2024-02-21 07:54:06 UTC |
parent | 70ddc8734cad98bb022a0be680c41ad868767860 |
.SRCINFO | +3 | -1 |
PKGBUILD | +10 | -3 |
diff --git a/.SRCINFO b/.SRCINFO index f09889e..6c2890b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = keepassxc pkgdesc = Cross-platform community-driven port of Keepass password manager pkgver = 2.7.6 - pkgrel = 2 + pkgrel = 3 url = https://keepassxc.org/ arch = x86_64 license = GPL @@ -26,11 +26,13 @@ pkgbase = keepassxc 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 validpgpkeys = BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2 validpgpkeys = 71D4673D73C7F83C17DAE6A2D8538E98A26FD9C4 validpgpkeys = AF0AEA44ABAC8F1047733EA7AFF235EEFB5A2517 validpgpkeys = C1E4CBA3AD78D3AFD894F9E0B7A66F03B59076A8 sha256sums = a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670 sha256sums = SKIP + sha256sums = 7884a0425a5bf7e67d389d6b2545b06ee28b6d77e9164df13a8e78b5719d11ce pkgname = keepassxc diff --git a/PKGBUILD b/PKGBUILD index b7e567b..2124d4a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=keepassxc pkgver=2.7.6 -pkgrel=2 +pkgrel=3 pkgdesc="Cross-platform community-driven port of Keepass password manager" arch=(x86_64) url="https://keepassxc.org/" @@ -16,15 +16,22 @@ 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}) +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') + 'SKIP' + '7884a0425a5bf7e67d389d6b2545b06ee28b6d77e9164df13a8e78b5719d11ce') # 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 \