44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
# Template file for 'attica'
|
|
pkgname=attica
|
|
version=5.91.0
|
|
revision=1
|
|
build_style=cmake
|
|
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 <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/attica"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c05ee119f66d6dc60ecff5b7c6e883d4bc478aca547811b4edbc45eaf0f17b6b
|
|
|
|
do_check() {
|
|
cd build
|
|
# providertest is not able to fetch https://api.kde-look.org/ocs/v1/config
|
|
# (other URLs under api.kde-look.org seem to work fine)
|
|
ctest -E 'providertest'
|
|
}
|
|
|
|
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}"
|
|
}
|