aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akregator/APKBUILD
blob: 1fd5b1f0408522dcb4651fd09948fa20ec3b96b5 (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
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akregator
pkgver=19.12.2
pkgrel=1
arch="all !ppc64le !s390x !armhf" # Limited by qt5-qtwebengine
url="https://kontact.kde.org/components/akregator.html"
pkgdesc="RSS Feed Reader"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev grantlee-dev kcrash-dev kdoctools-dev kcmutils-dev knotifyconfig-dev kparts-dev ktexteditor-dev kxmlgui-dev kiconthemes-dev knotifications-dev syndication-dev grantleetheme-dev kontactinterface-dev libkdepim-dev libkleo-dev messagelib-dev kpimtextedit-dev akonadi-mime-dev pimcommon-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="e47aba7f39ca54a9008ac156e2eaf740a76fa40fb36b9f3e9b8aa81db2af9a1ded5789178dccb9ddfa75f5b7234c6bc584c59f4f36033f2f635fd5c87eda2e57  akregator-19.12.2.tar.xz"