mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
42 lines
763 B
Bash
42 lines
763 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../plasma.conf
|
|
|
|
pkgname=user-manager
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="KDE's user manager"
|
|
arch=('x86_64')
|
|
url='projects.kde.org/'
|
|
license=('LGPL')
|
|
depends=('qt5-base' 'kdelibs4support' 'libpwquality')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
|
checkdepends=("cmake")
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|