pkgname=networkmanager-qt pkgver=5.52.0 pkgrel=0 pkgdesc="Qt wrapper for NetworkManager API" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1" depends="networkmanager" depends_dev="networkmanager-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" build() { cd "$builddir" cmake "$srcdir"/${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="b0b45fadc5e4b0f2e043333f786c1c7cac1a9455e15e818155b92b7e16ebad0354421c5c19897b1732536b0532a452cb8d6d80a64c2b8cf635a5f5b18afd0da0 networkmanager-qt-5.52.0.tar.xz"