pkgname=kconfigwidgets pkgver=5.36.0 pkgrel=1 pkgdesc='Widgets for KConfig' arch="all" url='https://community.kde.org/Frameworks' license="LGPL" depends="kauth kcodecs kguiaddons ki18n kwidgetsaddons" makedepends="extra-cmake-modules kdoctools python mesa-dev clang py3-qt5 doxygen qt5-qttools-dev kauth kguiaddons kwidgetsaddons kcodecs kconfig" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-doc" prepare() { mkdir -p $srcdir/build } build() { cd $srcdir/build cmake "$srcdir"/${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } package() { cd $srcdir/build make DESTDIR="${pkgdir}" install } sha512sums="2068585904912da4bf7893d893ed552f1138a23d502f0f2fd480fc744fda9986e99a915e1499dd443de09dd3f06b097bc73ab71c5ada6bdc4164ca583e01e5ff kconfigwidgets-5.36.0.tar.xz"