aboutsummaryrefslogtreecommitdiffstats
path: root/community/corestats/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/corestats/APKBUILD')
-rw-r--r--community/corestats/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/corestats/APKBUILD b/community/corestats/APKBUILD
index f4e046006e..257f8b745a 100644
--- a/community/corestats/APKBUILD
+++ b/community/corestats/APKBUILD
@@ -1,24 +1,28 @@
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corestats
-pkgver=4.1.0
+pkgver=4.2.0
pkgrel=0
-pkgdesc="A system resource viewer from the CoreApps family."
+pkgdesc="A system resource viewer from C-Suite"
arch="all !s390x !mips64" # polkit
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
-makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev lm-sensors-dev"
+makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev lm-sensors-dev cmake ninja"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corestats/-/archive/v$pkgver/corestats-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"
build() {
- qmake-qt5
- make
+ cmake -B build \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=None
+ cmake --build build
}
package() {
- INSTALL_ROOT="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="2829e052a815f516667b211cac57dd9f55c181cc040036602c31dc758e275f05f7f4038c5425b239fc9fd160307e0bfebe9aedc39226a58d5964d6c76d498a04 corestats-4.1.0.tar.gz"
+sha512sums="7b65c676c9c6e865c9bbcb7f51abab2f3fd263d8e6a819ab681949903ef8753d559d5ecf82ff564d1d933c233caa9c2900724311e1442a9d512f4ec5eb49ebe4 corestats-4.2.0.tar.gz"