void-packages/srcpkgs/kdnssd/template

26 lines
818 B
Bash

# Template file for 'kdnssd'
pkgname=kdnssd
version=5.47.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel avahi-libs-devel"
short_desc="Network service discovery using Zeroconf"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdnssd"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5746bc4a313c4c0d9d34e6fbdb095bb616877f219845b5539a6f640fb723fb75
kdnssd-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}