void-packages/srcpkgs/attica-qt5/template

27 lines
849 B
Bash

# Template file for 'attica-qt5'
pkgname=attica-qt5
version=5.51.0
revision=1
wrksrc="${pkgname%-*}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-devel"
makedepends="qt5-devel"
short_desc="A Qt library that implements the Open Collaboration Services API"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/kdesupport/attica"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%-*}-${version}.tar.xz"
checksum=c46b132c982d8be11f3b714142c164808ff64685c4932212d6c2846538ceaed3
attica-qt5-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}