mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 21:47:15 +08:00
41 lines
909 B
Bash
41 lines
909 B
Bash
source ../plasma.conf
|
|
|
|
pkgname=plasma-desktop
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc='KDE Plasma Desktop'
|
|
arch=('x86_64')
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
|
license=('LGPL')
|
|
depends=('qt5-graphicaleffects' 'powerdevil' 'polkit-kde-agent-frameworks' 'libcanberra'
|
|
'kwin' 'libusb-compat' 'libxkbfile' 'kmenuedit' 'systemsettings' 'ksysguard')
|
|
makedepends=('extra-cmake-modules' 'kdoctools')
|
|
optdepends=('plasma-nm: Network manager applet')
|
|
checkdepends=("cmake")
|
|
conflicts=('kde-workspace' 'kde-baseapps-kdepasswd')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
install=${pkgname}.install
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|