pkgname=networkmanager-qt pkgver=5.49.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="3a13530d6762193ec7abbb57b706ff7e89c459864059e17f09139a61f8447b24dad90e068fc2b24c151235bac4ec5213ee68bbb3bc672c672afe40ef3673138c networkmanager-qt-5.49.0.tar.xz"