# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=kdnssd6 _pkgname=kdnssd pkgver=${_kf6ver} pkgrel=1 pkgdesc='Network service discovery using Zeroconf' arch=('x86_64') url='https://invent.kde.org/frameworks/kdnssd' license=('LGPL') depends=('qt6-base' 'avahi') makedepends=('extra-cmake-modules' 'qt6-tools') groups=('kf6') source=("https://download.kde.org/stable/frameworks/5.99/${_pkgname}-${pkgver}.tar.xz") md5sums=(`grep ${_pkgname}-${_kf6ver}.tar.xz ../kf6.md5 | cut -d" " -f1`) build() { cmake -B build -S ${_pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }