void-packages/srcpkgs/syndication/template

26 lines
792 B
Bash

# Template file for 'syndication'
pkgname=syndication
reverts="18.08.0_1 18.08.0_2 18.08.1_1"
version=5.96.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel kcodecs-devel"
short_desc="RSS/Atom parser library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/frameworks/${version%.*}/syndication-${version}.tar.xz"
checksum=a4b1dbf8c0eed15eab9f520512fee6271b07fac0745c2b1fc6ccae49ed6fc0e0
syndication-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}