pmaports/kde/kmime/APKBUILD

36 lines
998 B
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=kmime
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc='Library for handling mail messages and newsgroup articles'
arch="all"
url='https://community.kde.org/KDE_PIM'
license="LGPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev ki18n-dev kcodecs-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" # Fails on aarch64 on Outlook attachement naming
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="6299c7b695c2b41ae1f35fe49d55494b2de3bd462ca15a68e3a81fd13497713472edf5bc1637c20ef290db6d29151529f09843422d6d8eb275bbf47e1228c01a kmime-18.12.0.tar.xz"