# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdnssd pkgver=5.60.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%.*}/$pkgname-$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="973ddca65f7636f34d25509a402761c87cf282c1bbec2f2d641c4c6bed707c1aed01532e16cb9ce1f4de3bbb955683739bd0e3102e98c30c44789e7fced40e70 kdnssd-5.60.0.tar.xz"