archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kwallet / trunk / PKGBUILD
blobb1a08fe8a1ab253f22a26704e63ecda8257cecc3
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kwallet
6 pkgver=5.97.0
7 pkgrel=4
8 pkgdesc='Secure and unified container for user passwords'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(knotifications kiconthemes kservice gpgme qca-qt5)
13 makedepends=(extra-cmake-modules kdoctools boost doxygen qt5-tools qt5-doc)
14 optdepends=('kwalletmanager: Configuration GUI')
15 provides=(org.freedesktop.secrets)
16 replaces=(kwallet-secrets)
17 groups=(kf5)
18 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
19         kwallet-dont-register-dummy-service.patch::https://invent.kde.org/frameworks/kwallet/-/merge_requests/33.patch)
20 sha256sums=('ab9b78b0c6aba461de6247974b7e60239cd2a52a1c2c6d67b92e466c7597d821'
21             'SKIP'
22             '99e8295bbce2f5afc3695c82d2f1c940cbe5a26be745daf078a2073e4d4762a8')
23 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
24 options=(debug)
26 prepare() {
27   patch -d $pkgname-$pkgver -p1 < kwallet-dont-register-dummy-service.patch
30 build() {
31   cmake -B build -S $pkgname-$pkgver \
32     -DBUILD_TESTING=OFF \
33     -DBUILD_QCH=ON
34   cmake --build build
37 package() {
38   DESTDIR="$pkgdir" cmake --install build