aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdeplasma-addons/APKBUILD
blob: a89f1b3d4ffabd282a1feaa0cf7598f79d630dfa (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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdeplasma-addons
pkgver=5.16.4
pkgrel=0
pkgdesc="All kind of addons to improve your Plasma experience "
arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.0-only AND GPL-2.0-or-later"
depends="purpose"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev karchive-dev
	kconfig-dev kcoreaddons-dev kdeclarative-dev kholidays-dev ki18n-dev
	kiconthemes-dev kio-dev kcmutils-dev kross-dev knotifications-dev
	plasma-framework-dev krunner-dev kservice-dev sonnet-dev kunitconversion-dev
	kwindowsystem-dev knewstuff-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

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

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" make install
}
sha512sums="d32daa32f7ff85798f5e17c302a9e47f8350107f924e1caf5921d4c081f42c548594d5bdce79d13de37fe567881b0ad5f343fbc30e2290602839563b6b49d6a3  kdeplasma-addons-5.16.4.tar.xz"