aports/community/communicator/APKBUILD
Bart Ribbers 44ce39a091 */*: remove unnecessary --output-on-failure
We set OUTPUT_ON_FAILURE by default nowadays so this argument is
unnecessary
2025-03-19 15:41:30 +00:00

56 lines
1.5 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=maui
maintainer="team/kde <bribbers@disroot.org>"
pkgname=communicator
pkgver=4.0.0
pkgrel=1
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
kcontacts-dev
kcoreaddons-dev
ki18n-dev
kpeople-dev
kservice-dev
mauikit-dev
mauikit-filebrowsing-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
samurai
"
_repo_url="https://invent.kde.org/maui/communicator.git"
source="https://download.kde.org/stable/maui/communicator/$pkgver/maui-communicator-$pkgver.tar.xz
0001-$pkgname-Fix-build.patch
"
subpackages="$pkgname-lang"
options="!check" # No tests
builddir="$srcdir/maui-$pkgname-$pkgver"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
a49acb89e4f5fa910f0a09521493cbadfc7a0ff757d46cbb075ea2cd8f5bd762be5a9fe665ef4f75a2702e5d49decf4b0139743840311f767c6a6a4fd314e84f maui-communicator-4.0.0.tar.xz
80cbad440e0175977220847e7859a68706b2460d9142e59a93173aaa2cda04a7fb46cd51e05178f94f28129b6121d29ca4c8d902309ad262f00dd32280c52770 0001-communicator-Fix-build.patch
"