pkgname=networkmanager-qt pkgver=5.37.0 pkgrel=1 pkgdesc='Qt wrapper for NetworkManager API' arch="all" url='https://community.kde.org/Frameworks' license="LGPL" depends="networkmanager qt5-qtbase" makedepends="extra-cmake-modules doxygen qt5-qttools-dev networkmanager-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $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="6a6cd1382cb6483928bb9eac7590c2984751f47fe0f71d7c05723509dc1bb4bda4bf6854f3b662c9ddcaa7d6c1f6d7001e459a0bd335a24f2c14d00d3878bc75 networkmanager-qt-5.37.0.tar.xz"