aports/community/plymouth-kcm/APKBUILD
2023-05-10 11:01:24 +02:00

55 lines
1.2 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plymouth-kcm
pkgver=5.27.5
pkgrel=1
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://invent.kde.org/plasma/plymouth-kcm"
pkgdesc="KCM to manage the Plymouth (Boot) theme"
license="GPL-2.0-or-later"
depends="plymouth"
makedepends="
extra-cmake-modules
karchive-dev
kcmutils-dev
kconfig-dev
kconfigwidgets-dev
kdeclarative-dev
ki18n-dev
kio-dev
knewstuff-dev
plymouth-dev
qt5-qtbase-dev
samurai
"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/plymouth-kcm-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
a4113fb106230953f2ed65e08b7bf1118d438c53c2bcf45c19745e8bc716e1643649f78703e6af1d2194362affcc1b027d36335a9bfdaafc007b6d90970137c6 plymouth-kcm-5.27.5.tar.xz
"