void-packages/srcpkgs/attica-qt5/template

27 lines
840 B
Bash

# Template file for 'attica-qt5'
pkgname=attica-qt5
version=5.47.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="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/kdesupport/attica"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%-*}-${version}.tar.xz"
checksum=72a1962de852590d9494ebcfa9f98e1d394bad4680384b9a6937a7082140259e
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
}
}