void-packages/srcpkgs/kf6-attica/template

31 lines
825 B
Bash

# Template file for 'kf6-attica'
pkgname=kf6-attica
version=6.7.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
makedepends="qt6-base-devel"
short_desc="Qt library that implements the Open Collaboration Services API"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/attica"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=daa5c07b474899e16b42710e03d0590936bce0f54800239d633d48caa3be0d7d
do_check() {
cd build
ctest -E "providertest"
}
kf6-attica-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}