pmaports/kde/pimcommon/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

34 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=pimcommon
pkgver=18.12.2
pkgrel=0
pkgdesc="Common lib for KDEPim"
arch="all"
url='https://community.kde.org/KDE_PIM'
license="GPL-2.0 LGPL-2.1"
depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev akonadi-dev akonadi-contacts-dev kimap-dev libkdepim-dev kpimtextedit-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Requires running X11 server
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="22b644aa4ecfb253f43442af32fb59f104263351a49b31bd74d7f54c5d27b37f1ec298939326fe0b700624cfbb5c30a9ba07d95ca9dd20fa4b270321dc096fe1 pimcommon-18.12.2.tar.xz"