desktop/sddm-kcm/PKGBUILD

33 lines
715 B
Bash

pkgname=sddm-kcm
pkgver=20141020
pkgrel=1
pkgdesc="SDDM configuration module for KDE"
arch=('x86_64')
url="https://github.com/sddm/sddm-kcm"
license=("GPL")
depends=('kcoreaddons' 'sddm' 'ki18n' 'kxmlgui' 'kauth' 'kdelibs4support' 'libx11' 'libxcb' 'libxcursor')
makedepends=('git' 'extra-cmake-modules' 'kdoctools' 'qt5-tools')
conflicts=('sddm-kcm')
source=('git://anongit.kde.org/sddm-kcm')
md5sums=('SKIP')
build() {
mkdir -p build
cd build
cmake ../${pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}