void-packages/srcpkgs/attica-qt5/template

27 lines
859 B
Bash

# Template file for 'attica-qt5'
pkgname=attica-qt5
version=5.37.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=573c71704b4116e82a9866a86b90e375a1f5022563246b14bb0866963899588e
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
}
}