# Maintainer: Jesus E. pkgname=kitemmodels pkgver=5.78.0 pkgrel=2 pkgdesc='Models for Qt Model/View system' arch=(i686 x86_64) url='https://community.kde.org/Frameworks' license=(LGPL-2.1) depends=(qt-base) optdepends=('python-pyqt: for the Python bindings' 'qt-declarative: QML bindings') makedepends=(doxygen extra-cmake-modules graphviz python-pyqt qt-declarative qt-tools sip) groups=(kf5) source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}) sha512sums=('135fc0019f5b0eafaca482d589eb84bc3e38636fbc7f552a9a98bad4e06dc87c32da236379800e8c804b9cb8964b37b3cefeaf752c34b15550df87bcdb663742' 'SKIP') validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure build() { cmake -B build -S $pkgname-$pkgver \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make -C build } package() { make DESTDIR="$pkgdir" -C build install install -Dm644 $pkgname-$pkgver/LICENSES/LGPL-2.1-or-later.txt -t $pkgdir/usr/share/licenses/$pkgname }