mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:17:14 +08:00
0003c19031
use [@] to get the full array entries, without that only the first element was retrieved
44 lines
852 B
Bash
44 lines
852 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' 'accountsservice' 'kcmutils')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
|
checkdepends=("cmake")
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'SKIP' )
|
|
validpgpkeys=(${Pvalidpgpkeys[@]})
|
|
|
|
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
|
|
}
|