summaryrefslogtreecommitdiff
path: root/user/ksysguard/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ksysguard/APKBUILD')
-rw-r--r--user/ksysguard/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/user/ksysguard/APKBUILD b/user/ksysguard/APKBUILD
new file mode 100644
index 000000000..70fa61852
--- /dev/null
+++ b/user/ksysguard/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=ksysguard
+pkgver=5.8.7
+pkgrel=0
+pkgdesc="KDE system monitor utility"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1"
+depends=""
+makedepends="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kdbusaddons-dev kio-dev
+ ki18n-dev kiconthemes-dev kinit-dev kitemviews-dev knewstuff-dev
+ knotifications-dev kwindowsystem-dev libksysguard-dev
+ cmake extra-cmake-modules kdoctools-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/Attic/plasma/$pkgver/ksysguard-$pkgver.tar.xz
+ ksysguard-5.5.5-netstat-use-a-real-type.patch
+ ksysguard-5.6.5-processlist-gnu_source.patch
+ ksysguard-5.6.5-rindex-header.patch
+ "
+builddir="$srcdir/ksysguard-$pkgver"
+
+build() {
+ cd "$builddir"
+ 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() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="320e02cf94768f9d63e12dfb46ab0728bf64e60636242b9a6f57517b3ca329bfa2d99f4999e2b071a6cd2849d14e807d9a2070cd9d0f51dbdf32fccfec423bb5 ksysguard-5.8.7.tar.xz
+078c9d3e13ee0960a8cc68e3ee6ef4f9fc78640fae71d66dd5579f9d031895aec7cf1c2dbc4b03f84edfb9456163dcf6124c6da936f90eef3e664c4267660ab9 ksysguard-5.5.5-netstat-use-a-real-type.patch
+818d2d603d7113b163cabbf27f0082bd8b482a8e66a1b8f569f353c84f3d031c742708b2f376f962f1ed360594fb6c6506195d9071d070b5c0ac4816d5e0cad4 ksysguard-5.6.5-processlist-gnu_source.patch
+13a26451c459cff1d3b00af27c953d10c55e7e8f43ef7a6f0f54dd05dcb612546545c0170089e9499bb041f004cdacf19cb112d247a8ccf8fd4e77fea0d1c8bc ksysguard-5.6.5-rindex-header.patch"