pmaports/kde/kmime/APKBUILD
PureTryOut 3b0f06c3a8 kde/applications: update to 18.12.2 (!213)
[skip ci]: ollieparanoid made sure that everything builds for x86_64,
           aarch64, armhf, armv7
2019-02-23 11:16:17 +00:00

33 lines
970 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmime
pkgver=18.12.2
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_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 \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="4453a563981e6e44fc8485eab99ed2df96e020ad260e8e8d9e0e99d179f613d8ca495bd96e850bc082274392aa000b8191777d661eb468aa0052214556919152 kmime-18.12.2.tar.xz"