879213f02c
Tested on Qemu amd64. Everything builds and runs correctly. [skip ci]: ollieparanoid made sure that this builds for x86_64, armhf and aarch64.
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kcmutils
|
|
pkgver=5.54.0
|
|
pkgrel=0
|
|
pkgdesc="Utilities for interacting with KCModules"
|
|
arch="all"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="kdeclarative-dev kiconthemes-dev kxmlgui-dev kpackage-dev qt5-qtdeclarative-dev
|
|
kitemviews-dev kconfigwidgets-dev kauth-dev kcoreaddons-dev kcodecs-dev kconfig-dev
|
|
kwidgetsaddons-dev ki18n-dev kservice-dev"
|
|
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="dbb8e24a86378ab283cb934fc27caa4dc3a91e3f90d70a12d64bb08dc669427e64469720507265c2cc2276133bbfe4f57c48c7a7498b5f020d503d0fcba9c3ea kcmutils-5.54.0.tar.xz"
|