void-packages/srcpkgs/kf6-attica/template

31 lines
825 B
Bash

# Template file for 'kf6-attica'
pkgname=kf6-attica
version=6.3.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=abaf3a113a002d5d8435a3a75020f98c574290d2c552a5f256291d0418cc59ed
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"
}
}