pmaports/kde/kimap/APKBUILD

35 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.3
pkgrel=1
pkgdesc="Job-based API for interacting with IMAP servers"
2018-10-08 06:50:31 +00:00
arch="all"
url="https://community.kde.org/KDE_PIM"
2018-10-08 06:50:31 +00:00
license="GPL-2.0 LGPL-2.0"
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=RelWithDebugInfo \
2018-10-08 06:50:31 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
2018-10-08 06:50:31 +00:00
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="73f3c7b790166606117421b40ba4f381d4455b08cf7bb9507297a68dac197b75dd16a2e4dc4b7eec5cb55c7743f5a9594a56190fc1d41e2ce1b3ed4ee3f99543 kimap-18.12.3.tar.xz"