def0dac79f
Built and tested on x86_64. [ci:skip-build]: ollieparanoid made sure that this builds for all arches
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libksysguard
|
|
pkgver=5.15.3
|
|
pkgrel=0
|
|
pkgdesc="Libksysguard"
|
|
arch="all"
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="LGPL-2.1"
|
|
depends_dev="kwindowsystem-dev plasma-framework-dev qt5-qtscript-dev qt5-qtx11extras-dev kcoreaddons-dev kconfig-dev ki18n-dev kcompletion-dev kauth-dev kwidgetsaddons-dev kiconthemes-dev kconfigwidgets-dev kservice-dev kcodecs-dev plasma-framework kpackage-dev"
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools"
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
options="!check" # Fails due to requiring running X11
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="af3b6a8f2c3557be57507872b5e29283b2d2860d670c59a1be261f3386c0b5fba856ee722a2e3b0c7af8850f047c331f27c1f4fe02d32e4241d4b0e9fc484bfd libksysguard-5.15.3.tar.xz"
|