blob: 5747bb69a1e9f8812e7f83c8fd8f9c36d9efffd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libksieve
pkgver=19.08.1
pkgrel=0
pkgdesc="KDE PIM library for managing sieves"
arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine
url="https://kontact.kde.org/"
license="GPL-2.0-only"
depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev ki18n-dev kdoctools-dev kio-dev kiconthemes-dev pimcommon-dev libkdepim-dev knewstuff-dev kwindowsystem-dev karchive-dev syntax-highlighting-dev kmime-dev kidentitymanagement-dev kmailtransport-dev kpimtextedit-dev kimap-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
# libksieveui-findbar-findbarbasetest and sieveeditorhelphtmlwidgettest require OpenGL
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(libksieveui-findbar-findbarbase|sieveeditorhelphtmlwidget)test"
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="930590867786ce1664490674678926ac6f79d9caa24cd09ce9e69c1127c68b74f8481e16ce05a95537a13560a94193cf13f5523f1a79fa94f380f69ceea30a6d libksieve-19.08.1.tar.xz"
|