716e6c10eb
This commit adds a test case, which makes sure that the KDE framework and plasma framework version are always the same. Additional changes: * APKBUILD parser parses the URL now (that's the best way I found to categorize the KDE aports in frameworks and other) * Changed single quotes to double quotes in KDE APKBUILDs, so the parser doesn't include the single quotes in the parsed result * Added the test case to the gitlab CI config
38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=ksysguard
|
|
pkgver=5.13.4
|
|
pkgrel=0
|
|
pkgdesc="Track and control the processes running in your system"
|
|
arch="all"
|
|
url="https://userbase.kde.org/KSysGuard"
|
|
license="GPL-2.0"
|
|
depends=""
|
|
depends_dev="libksysguard-dev attica-qt-dev kinit-dev kxmlgui-dev kconfig-dev kcoreaddons-dev
|
|
kdbusaddons-dev ki18n-dev kiconthemes-dev kitemviews-dev kio-dev knotifications-dev
|
|
kservice-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kjobwidgets-dev
|
|
qt5-qtbase-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev
|
|
kwindowsystem-dev knewstuff-dev"
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools-dev"
|
|
source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="9b4035bda56d111f17d7751fde127a99dcb54c5b21f0f3b6881aafbd9f6e38ac76d54158cb6b4f36ecdb1d1f7eb992e6f58114396d843bb078b6ec82f8b15c5e ksysguard-5.13.4.tar.xz"
|