aboutsummaryrefslogtreecommitdiffstats
path: root/community/akregator/APKBUILD
blob: 4269d25420d48ca30a011f852c3cf2391c8ff733 (plain) (blame)
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
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akregator
pkgver=20.12.1
pkgrel=0
arch="all !ppc64le !s390x !armhf !mips !mips64" # 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/akregator-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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

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

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="4d9bc6dfefa7972efcf7723c7761d51ca2c705e609c9f41a26337f87546cec0643df1b7f56caac9ddb2981ec3bae0e809d85c3dc925b0e4db8c45648872582ae  akregator-20.12.1.tar.xz"