Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A script to build && install kdeconnect-kde on Kubuntu Utopic (with CI)
#! /bin/bash
# I use it in this setting
# .
# ├── kdeconnect-kde-build
# ├── kdeconnect-kde-src
#  └── update
# Where kdeconnect-kde-src holds the source as pulled from http://quickgit.kde.org/?p=kdeconnect-kde.git
# This is the content of `update`
cd kdeconnect-kde-build
rm CMakeCache.txt # To force rebuild
cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_QMLDIR=/usr/lib/x86_64-linux-gnu/qt5/qml -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../kdeconnect-kde-src
make
sudo make install | sed '/-- Up-to-date/d'
qdbus org.kde.kded /kded loadModule kdeconnect
kbuildsycoca5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment