mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 09:39:03 +08:00
40 lines
812 B
Bash
40 lines
812 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../plasma.conf
|
|
|
|
pkgname=sddm-kcm
|
|
epoch=1
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="SDDM configuration module for KDE"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/sddm-kcm'
|
|
license=("GPL")
|
|
depends=('kcoreaddons' 'sddm' 'ki18n' 'kxmlgui' 'kauth' 'kdelibs4support' 'libx11' 'libxcb' 'libxcursor')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|