# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-pa pkgver=5.15.2 pkgrel=0 pkgdesc="Plasma applet for audio volume management using PulseAudio" arch="all" url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0" depends="pulseaudio" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kdeclarative-dev kdoctools-dev kglobalaccel-dev ki18n-dev plasma-workspace-dev pulseaudio-dev libcanberra-dev gconf-dev" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="54d6812f4a6b50166c002fcd90e73f2c2e2d911fc0b6db5a3a450bf6e275a57607e39f901fed676b6a7384c5776fa5e9758c5c98eb6f603259ecad8d4a087aa5 plasma-pa-5.15.2.tar.xz"