summaryrefslogtreecommitdiff
path: root/testing/akonadi-notes/APKBUILD
blob: af21958300b9dcd7511f45cd094dd6f58db072e2 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-notes
pkgver=19.12.1
pkgrel=0
pkgdesc="Libraries and daemons to implement management of notes"
arch="all"
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev ki18n-dev kmime-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="8bcecef7a035f98832e80215a42e3a509bf95ba344f644f497fcebd1c8da8cd474eb1634d27b76a140cb185df41a19de2e372fe0328dc91d083c7526baa46ce8  akonadi-notes-19.12.1.tar.xz"