void-packages/srcpkgs/attica-qt5/template

27 lines
859 B
Bash

# Template file for 'attica-qt5'
pkgname=attica-qt5
version=5.42.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="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%-*}-${version}.tar.xz"
checksum=adfba910d6d3bbd814b8b8e7322e8181696f180f6088b53cb726e6a5cbd49245
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
}
}