summaryrefslogtreecommitdiff
path: root/user/qca/APKBUILD
blob: fd2dc82f15c07b4250863780cd37c05b8be854c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qca
pkgver=2.2.1
pkgrel=0
pkgdesc="Qt cryptographic architecture"
url="https://userbase.kde.org/QCA"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="cmake cyrus-sasl-dev qt5-qtbase-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.kde.org/stable/qca/$pkgver/qca-${pkgver}.tar.xz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DWITH_cyrus-sasl_PLUGIN=yes \
		.
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3a0e8aa7cf3ea9a7244facaf1d521ebca2753af37636e7bf5f21c57ae880ac9682ae7d6d9fa5ce41b73568ff9538214956b89cd41228c2cb828d9068c2031a9c  qca-2.2.1.tar.xz"