desktop/kcm-systemd/PKGBUILD
2015-07-07 07:26:27 +00:00

31 lines
830 B
Bash

pkgname=kcm-systemd
_pkgname=systemd-kcm
pkgver=1.2.0
pkgrel=1
pkgdesc="Systemd control module for KDE"
arch=('x86_64')
url='https://github.com/rthomsen/kcmsystemd'
screenshot="http://wstaw.org/m/2013/11/19/screen27.png"
license=('GPL')
depends=('kconfigwidgets' 'kservice' 'boost-libs')
makedepends=('extra-cmake-modules' 'python3' 'boost')
optdepends=('kde-cli-tools: to edit unit files')
source=("http://download.kde.org/stable/${_pkgname}/${_pkgname}-${pkgver}.tar.xz")
sha256sums=('d55147811b4a7b7082c5106fc746e8bb4927a0427db4e89cc706a1e92ae90ae7')
build() {
mkdir -p build && cd build
cmake ../$_pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}