aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akonadi-notes/APKBUILD
blob: f400967667b0728ccc3542c1a52c62f0ae7d1e6e (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.08.0
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/applications/$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="260d5dda46cf9ba268f4be6565e43ec843f6873b38ce99c0e7ad9409102129a66e39f793a8cd21ec9f4ca5768f71e699f93ce41b7adb6b03f584356e2f59cb38  akonadi-notes-19.08.0.tar.xz"