pkgbase=qca pkgname=qca-qt5 pkgver=2.1.3 pkgrel=1 pkgdesc='Qt Cryptographic Architecture' arch="all" url='http://delta.affinix.com/qca/' license="LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev" makedepends="$depends_dev cmake doxygen graphviz-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.kde.org/stable/$pkgbase/$pkgver/src/$pkgbase-$pkgver.tar.xz" builddir="$srcdir/$pkgbase-$pkgver" build() { cd "$builddir" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="0aec277e0695da2e45298f0a9006213829fe4c449a79969e472947db54f45000ba6e22361b782465bdc03f269b7301d318c843f5a83db459a118e58a03f3116a qca-2.1.3.tar.xz"