# Maintainer: Felix Yan # Maintainer: Antonio Rojas # Contributor: Andrea Scarpino # ALARM: Kevin Mihelich # - drop clang makedepend to fix v5/v6 FTBFS pkgname=kconfigwidgets pkgver=5.54.0 pkgrel=1 pkgdesc='Widgets for KConfig' arch=(x86_64) url='https://community.kde.org/Frameworks' license=(LGPL) depends=(kauth kcodecs kconfig kguiaddons ki18n kwidgetsaddons) makedepends=(extra-cmake-modules kdoctools python-pyqt5 doxygen qt5-tools sip) optdepends=('python-pyqt5: for the Python bindings') groups=(kf5) source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) sha256sums=('617090206976f2434e76d0bec2d96b89aa7ff01d602f558ab5f57cfbf08170d0' 'SKIP') validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure prepare() { mkdir -p build } build() { cd build cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } package() { cd build make DESTDIR="$pkgdir" install }