# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdnssd pkgver=5.62.0 pkgrel=0 arch="all" pkgdesc="Network service discovery using Zeroconf" url="https://community.kde.org/Frameworks" license="LGPL-2.0-or-later" depends="avahi" depends_dev="qt5-qtbase-dev avahi-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdnssd-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="fe0b188aef9c3a944aa85e54f84e5714ed1e97da2db3f4f80c6bbc692978c37d514c746a6d0afe368ec324d9b10bf8e7c4879042755adb6f8eb8cc3c3e36c8a8 kdnssd-5.62.0.tar.xz"