1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
3 # Contributor: Teo Mrnjavac <teo@kde.org>
6 pkgname=(qtkeychain-qt5 qtkeychain-qt6)
9 pkgdesc='Provides support for secure credentials storage'
11 url='https://github.com/frankosterfeld/qtkeychain'
14 makedepends=(cmake qt5-tools qt6-tools)
15 source=(https://github.com/frankosterfeld/qtkeychain/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
16 sha256sums=('20beeb32de7c4eb0af9039b21e18370faf847ac8697ab3045906076afbc4caa5')
19 cmake -B build-qt5 -S $pkgbase-$pkgver \
20 -DCMAKE_INSTALL_PREFIX=/usr
21 cmake --build build-qt5
23 cmake -B build-qt6 -S $pkgbase-$pkgver \
24 -DCMAKE_INSTALL_PREFIX=/usr \
26 cmake --build build-qt6
29 package_qtkeychain-qt5() {
31 optdepends=('kwallet: kwallet backend')
32 conflicts=(qtkeychain)
36 DESTDIR="$pkgdir" cmake --install build-qt5
37 install -Dm644 $pkgbase-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
40 package_qtkeychain-qt6() {
43 DESTDIR="$pkgdir" cmake --install build-qt6
44 install -Dm644 $pkgbase-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE