core/user-manager/PKGBUILD
AlmAck 0003c19031 fix validpgpkeys array propagation
use [@] to get the full array entries, without that only the first element was retrieved
2017-08-10 11:46:06 +02:00

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
}