pmaports/kde/kimap/APKBUILD

36 lines
1 KiB
Text
Raw Normal View History

2018-10-08 06:50:31 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kimap
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc='Job-based API for interacting with IMAP servers'
arch="all"
url='https://community.kde.org/KDE_PIM'
license="GPL-2.0 LGPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kio-dev kmime-dev cyrus-sasl-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # LoginJobTest fails (at least on QEMU aarch64)
2018-10-08 06:50:31 +00:00
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ca1590e54477c87585af248cb166439fd3adfdaa31feb308717bd478c6c4abcae3fae5fd0cc0f2bc316baf3ff37895ed27892a428b7ffe6631f03467cbc5f374 kimap-18.12.0.tar.xz"