diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-12 18:40:04 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | 1e65c37449be2241e9153b45acb4480eaa445476 (patch) | |
tree | 9da564c873658822bdaf865fbecd265677494f2c /user/plasma-systemmonitor | |
parent | dffac287a20aa8e758c2eef93b125720fd736da4 (diff) | |
download | packages-1e65c37449be2241e9153b45acb4480eaa445476.tar.gz packages-1e65c37449be2241e9153b45acb4480eaa445476.tar.bz2 packages-1e65c37449be2241e9153b45acb4480eaa445476.tar.xz packages-1e65c37449be2241e9153b45acb4480eaa445476.zip |
user/plasma-systemmonitor: New package
Diffstat (limited to 'user/plasma-systemmonitor')
-rw-r--r-- | user/plasma-systemmonitor/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/plasma-systemmonitor/APKBUILD b/user/plasma-systemmonitor/APKBUILD new file mode 100644 index 000000000..9670ff432 --- /dev/null +++ b/user/plasma-systemmonitor/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org> +pkgname=plasma-systemmonitor +pkgver=5.24.5 +pkgrel=0 +pkgdesc="System monitor tool for KDE Plasma" +url="https://www.kde.org/plasma-desktop/" +arch="all" +license="LGPL-2.0+" +depends="kirigami2 ksystemstats qt5-qtquickcontrols2" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev + kconfig-dev kdbusaddons-dev kdeclarative-dev kglobalaccel-dev ki18n-dev + kio-dev kitemmodels-dev knewstuff-dev kservice-dev kirigami2-dev + libksysguard-dev qt5-qtquickcontrols2-dev" +subpackages="$pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="b8c4a959eb587b25d8d503b3b2d05e6c8ced3b0cb146e08f0351f424962d059b70c8dd323d55b31ef903157b71bad6f20f969840a860ed25ebdafeb3db18489d plasma-systemmonitor-5.24.5.tar.xz" |