diff options
Diffstat (limited to 'community/kcmutils/APKBUILD')
-rw-r--r-- | community/kcmutils/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/kcmutils/APKBUILD b/community/kcmutils/APKBUILD new file mode 100644 index 0000000000..e2c4ef1a44 --- /dev/null +++ b/community/kcmutils/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kcmutils +pkgver=5.60.0 +pkgrel=0 +pkgdesc="Utilities for interacting with KCModules" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only AND LGPL-2.1-or-later" +depends_dev="kitemviews-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kservice-dev kxmlgui-dev kdeclarative-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=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="990407bd55229c0ebfcebfab93e524efdc09b503e394ea80e9b452affd4e1f2bbf74f6eb37cab7333d5f9c6c59a2983acae5bb6b4117a34204908c38938364e0 kcmutils-5.60.0.tar.xz" |