pmaports/kde/akonadi-mime/APKBUILD

37 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=akonadi-mime
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc='Libraries and daemons to implement basic email handling.'
arch="all"
url='https://community.kde.org/KDE_PIM'
license="GPL-2.0 LGPL-2.1 BSD"
depends=""
depends_dev="qt5-qtbase-dev kdbusaddons-dev kio-dev kmime-dev kitemmodels-dev akonadi-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" # Broken
builddir="$srcdir/$pkgname-$pkgver"
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="4b4d0ca51c20ca56016d8a2f4de04cc5091ae7ee41bf623c5efd72e67e2adb80f5436e35e3e1d0fec831236797bb87ff2c0103dc36715aac3586c395f93b2548 akonadi-mime-18.12.0.tar.xz"