PKGBUILD 1.12 KB
Newer Older
1
# This is for local testing and only works if used in the root of the cloned repo (with makepkg)
2
# Maintainer : Ramon Buldo <ramon@manjaro.org>
3

4
pkgname=kcm-msm
Philip Müller's avatar
Philip Müller committed
5
pkgver=0.4.95
6
pkgrel=1
7
pkgdesc="Manjaro settings manager module for Plasma 5"
8 9 10
arch=('i686' 'x86_64')
url="https://github.com/manjaro/manjaro-settings-manager"
license=("GPL")
Ramon Buldó's avatar
Ramon Buldó committed
11
depends=('icu' 'qt5-base' 'hwinfo' 'kitemmodels' 'kauth' 
12
         'kconfigwidgets' 'kcoreaddons' 'kcmutils' 'ckbcomp'
Ramon Buldó's avatar
Ramon Buldó committed
13
         'knotifications' 'xdg-utils')
14
makedepends=('git' 'extra-cmake-modules' 'kdoctools' 'qt5-tools')
Ramon Buldó's avatar
Ramon Buldó committed
15 16
conflicts=('manjaro-settings-manager' 'manjaro-settings-manager-kcm' 'manjaro-settings-manager-knotifier' 'manjaro-settings-manager-notifier')
provides=("manjaro-settings-manager" 'manjaro-settings-manager-kcm' 'manjaro-settings-manager-knotifier' 'manjaro-settings-manager-notifier')
17 18

build() {
19
  cd ..
20 21 22 23 24 25 26 27 28 29 30 31
  mkdir -p build
  cd build
  cmake ../ \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
    -DSYSCONF_INSTALL_DIR=/etc
  make
}

package() {
32 33
  cd ..
  cd build
34
  make DESTDIR=${pkgdir} install
35
}