aboutsummaryrefslogtreecommitdiffstats
path: root/community/kaidan/APKBUILD
blob: d09c1de683b6def9b619d5ea88b963cd2aba8d87 (plain)
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
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kaidan
pkgver=0.5.0
pkgrel=0
pkgdesc="Kaidan, a simple and user-friendly Jabber/XMPP client for every device and platform"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://invent.kde.org/kde/kaidan"
license="GPL-3.0-or-later-with-openssl-exception AND GPL-3.0-or-later AND MIT AND AND Apache-2.0 AND CC-BY-SA-4.0 AND CC-BY-SA-3.0"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qttools-dev qt5-qtmultimedia-dev qt5-qtlocation-dev kirigami2-dev knotifications-dev qxmpp-dev zxing-cpp-dev"
source="https://download.kde.org/stable/kaidan/$pkgver/kaidan-$pkgver.tar.xz"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DQUICK_COMPILER=TRUE \
		-DI18N=TRUE
	make -C build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="9f53ee553a4c5f5e68fe69b445ffe933b28efd0825751cba6c692de49e76e6c03b717af4e7372f28ed5e251d12f393defe720abf383ad6c5bb98db4da97b2960  kaidan-0.5.0.tar.xz"