pkgname=modemmanager-qt pkgver=5.56.0 pkgrel=0 pkgdesc="Qt wrapper for ModemManager DBus API" arch="all" url="https://community.kde.org/Frameworks" license="GPL-2.0" depends_dev="modemmanager-dev qt5-qtbase-dev" makedepends="$depends_dev extra-cmake-modules doxygen graphviz-dev qt5-qttools-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" options="!check" # Fails build() { cd "$builddir" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="20218c6daa58f5613e20c08d02ca2954cc2f54de9a63ea04e0df1b0d63c95784127c7c23647159669257f16eec93bb8fe0f0b6335b20d02b5c931f6ebcbdaec6 modemmanager-qt-5.56.0.tar.xz"