void-packages/srcpkgs/attica-qt5/template

27 lines
859 B
Bash

# Template file for 'attica-qt5'
pkgname=attica-qt5
version=5.43.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=2ac4197eb97fd09bafbfe91bb90b9cf0cc8e65f2cdc20cd54ba63adb402b6eef
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
}
}