aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akonadi-notes/APKBUILD
blob: de53ff426b7bfb94749672b6b8d1a038b65c74ac (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.2
pkgrel=1
pkgdesc="Libraries and daemons to implement management of notes"
arch="all !armhf"
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=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="66c3863fd90337d71b443654663bd4ad01017a60241dbc418355c6971b685118eba13632dff44f577125d4a8d3cc93688b6f005fa62ca9a4a5875558d2383d1a  akonadi-notes-19.12.2.tar.xz"