void-packages/srcpkgs/attica/template
2020-05-10 14:55:22 +02:00

38 lines
1.1 KiB
Bash

# Template file for 'attica'
pkgname=attica
version=5.70.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons 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=bd8980af05ad475ff9573bcfbf9751e7f5117fe35eb55856a3d84fefa20e5cda
attica-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}
attica-qt5_package() {
build_style=meta
short_desc+=" - (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}
attica-qt5-devel_package() {
build_style=meta
short_desc+=" - (transitional dummy package)"
depends="${sourcepkg}-devel>=${version}_${revision}"
}