pmaports/kde/kimap/APKBUILD
2018-11-27 07:47:11 +01:00

35 lines
1,007 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kimap
pkgver=18.08.1
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
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="02a6d16eb921c6bdc5ee30bf92754cdbf2188b222bdc5dd62acff9f9f073cbd8f97207d434ba49538e75024b7fdf036dfb244738b4e64994ab8d78456cead827 kimap-18.08.1.tar.xz"