[arch-commits] Commit in qca/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jan 20 07:55:19 UTC 2022
Date: Thursday, January 20, 2022 @ 07:55:19
Author: arojas
Revision: 434778
archrelease: copy trunk to staging-x86_64
Added:
qca/repos/staging-x86_64/
qca/repos/staging-x86_64/PKGBUILD
(from rev 434777, qca/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: qca/repos/staging-x86_64/PKGBUILD (from rev 434777, qca/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-01-20 07:55:19 UTC (rev 434778)
@@ -0,0 +1,50 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=qca
+pkgname=(qca-qt5 qca-qt6)
+pkgver=2.3.4
+pkgrel=2
+pkgdesc='Qt Cryptographic Architecture'
+arch=(x86_64)
+url='https://userbase.kde.org/QCA'
+license=(LGPL)
+optdepends=('pkcs11-helper: PKCS-11 plugin' 'botan: botan plugin')
+makedepends=(cmake doxygen pkcs11-helper botan qt5-base qt6-5compat)
+source=(https://download.kde.org/stable/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig})
+sha256sums=('6b695881a7e3fd95f73aaee6eaeab96f6ad17e515e9c2b3d4b3272d7862ff5c4'
+ 'SKIP')
+validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter <sitter at kde.org>
+
+build() {
+ cmake -B build-qt5 -S $pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DQCA_INSTALL_IN_QT_PREFIX=ON \
+ -DQCA_MAN_INSTALL_DIR=/usr/share/man
+ cmake --build build-qt5
+
+ cmake -B build-qt6 -S $pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQT6=ON \
+ -DBUILD_TESTS=OFF \
+ -DQCA_INSTALL_IN_QT_PREFIX=ON \
+ -DQCA_MAN_INSTALL_DIR=/usr/share/man
+ cmake --build build-qt6
+}
+
+package_qca-qt5() {
+ depends=(qt5-base nss ca-certificates)
+ conflicts=(qca)
+ provides=(qca)
+ replaces=(qca)
+
+ DESTDIR="$pkgdir" cmake --install build-qt5
+}
+
+package_qca-qt6() {
+ depends=(qt6-5compat nss ca-certificates)
+
+ DESTDIR="$pkgdir" cmake --install build-qt6
+}
More information about the arch-commits
mailing list