2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=libksysguard
|
2018-03-06 22:34:59 +00:00
|
|
|
pkgver=5.12.3
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc='Libksysguard'
|
|
|
|
arch="all"
|
|
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
2017-11-26 17:08:10 +00:00
|
|
|
license="LGPL-2.1"
|
|
|
|
depends=""
|
2018-05-02 20:50:29 +00:00
|
|
|
depends_dev="kwindowsystem-dev plasma-framework-dev qt5-qtscript-dev qt5-qtx11extras-dev
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
2017-11-26 17:08:10 +00:00
|
|
|
options="!check" # Fails due to requiring running X11
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DKDE_INSTALL_LIBDIR=lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2018-03-06 22:34:59 +00:00
|
|
|
sha512sums="fbbac93f01d511af1a9b48c0dc4f27a2dee76c6bbf6ccc571ee95aab66d10236e8d0d4ae74c58add6e1e52b8b24d1373672881fe0eaaa7fd30bb629c971add40 libksysguard-5.12.3.tar.xz"
|