# Depends on: kf5-extra-cmake-modules kf5-kconfig  kf5-ki18n kf5-plasma-framework kf5-kcmutils kf5-kdeclarative kf5-kidletime kf5-kdelibs4support kf5-kcrash kf5-kglobalaccel kf5-kwayland 

description="Library and components for secure lock screen architecture"
url="https://www.kde.org/"
packager="pierre at nutyx dot org"
alias=(kscreenlocker)

_name=kscreenlocker
release=1

build() {
cd ${_name}-$version
mkdir build
cd    build
cmake -DCMAKE_INSTALL_PREFIX=/usr        \
      -DCMAKE_BUILD_TYPE=Release         \
      -DLIB_INSTALL_DIR=lib  \
      -DBUILD_TESTING=OFF    \
      -DLIBEXEC_INSTALL_DIR=/usr/lib     \
      -DSYSCONF_INSTALL_DIR=/etc         \
      -Wno-dev ..
make
make DESTDIR=$PKG install
}
