pmaports/kde/libksysguard/APKBUILD

38 lines
1.2 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libksysguard
2018-02-06 23:18:45 +00:00
pkgver=5.12.0
pkgrel=0
pkgdesc='Libksysguard'
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
license="LGPL-2.1"
depends=""
depends_dev="kwindowsystem-dev plasma-framework-dev qt5-qtscript-dev qt5-x11extras-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 \
-DKDE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
2018-02-06 23:18:45 +00:00
sha512sums="ad8f78e9b5f9f473667559bff060f1cd6daa086c2033c617223f906cd808224b9dca103ddb48f8f4ec9fd708cb557af50e066a4da43719711f52ed9bf1d42a57 libksysguard-5.12.0.tar.xz"