aboutsummaryrefslogtreecommitdiffstats
path: root/community/plymouth-kcm/APKBUILD
blob: b8d63998f70d80b389b1227bea3ae169f1a65eec (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plymouth-kcm
pkgver=5.18.4
_pkgver=5.18.4.1
pkgrel=0
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://cgit.kde.org/plymouth-kcm.git"
pkgdesc="KCM to manage the Plymouth (Boot) theme"
license="GPL-2.0-or-later"
depends="plymouth"
makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev knewstuff-dev kio-dev kdeclarative-dev ki18n-dev kconfig-dev kconfigwidgets-dev plymouth-dev kcmutils"
source="https://download.kde.org/stable/plasma/$pkgver/plymouth-kcm-$_pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_pkgver"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="436e9764f8891aa3040d9f80f57ca3f56633508f0bc82b3a995ecfca0e6f27a619daf893f31b64b7bda1ad4e57f9ec3044ec32913283fe2d4218fd62d247bf26  plymouth-kcm-5.18.4.1.tar.xz"