template 877 B

12345678910111213141516171819202122232425262728293031
  1. # Template file for 'libksysguard'
  2. pkgname=libksysguard
  3. version=5.20.2
  4. revision=1
  5. build_style=cmake
  6. hostmakedepends="extra-cmake-modules gettext kauth qt5-host-tools qt5-qmake"
  7. makedepends="plasma-framework-devel qt5-webchannel-devel knewstuff-devel
  8. kio qt5-tools-devel"
  9. short_desc="KDE libksysguard"
  10. maintainer="John <me@johnnynator.dev>"
  11. license="LGPL-2.1-or-later"
  12. homepage="https://invent.kde.org/plasma/libksysguard"
  13. distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
  14. checksum=9f57a3719d665df6d6b3c494a62bb7d60c79b06f30c0e9c75eb03568d2046d71
  15. # Liberation: Removed webengine related code
  16. pre_check() {
  17. export QT_QPA_PLATFORM=offscreen
  18. }
  19. libksysguard-devel_package() {
  20. short_desc+=" - development"
  21. depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
  22. pkg_install() {
  23. vmove usr/include
  24. vmove usr/lib/cmake
  25. vmove "usr/lib/*.so"
  26. }
  27. }