2023-10-18 20:24:10 +02:00

54 lines
1.3 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=maui
pkgname=communicator
pkgver=3.0.1
pkgrel=0
pkgdesc="Contacts and dialer application"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://invent.kde.org/maui/communicator"
license="GPL-3.0-or-later"
depends="
mauikit-filebrowsing
mauikit-texteditor
"
makedepends="
extra-cmake-modules
kcontacts5-dev
kcoreaddons5-dev
ki18n5-dev
kpeople5-dev
kservice5-dev
mauikit-dev
mauikit-filebrowsing-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
qt5-qtquickcontrols2-dev
samurai
"
_repo_url="https://invent.kde.org/maui/communicator.git"
source="https://download.kde.org/stable/maui/communicator/$pkgver/communicator-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
f778c45ee8acaa683af0d1ba1cacc335af98f30e9a7fa9be023f6b3ebaabb3be12ecb00e910132ef5da1d89b266abdce603771f303dc79c3689fc195bbda8d6b communicator-3.0.1.tar.xz
"