From d48422ef68bfe4032dda8b75e07fb8e88c67fb32 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 3 Jan 2019 10:14:54 +0000 Subject: [PATCH] README: Add more info about building from source --- README.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7bdd1e5..0fc1ca7 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,28 @@ On elementaryOS? Simply install Color Picker from AppCenter:

-Otherwise you can download and install the [latest .deb file](https://github.com/ronnydo/colorpicker/releases/latest). +For other Debian-based systems, you can download and install the [latest .deb file](https://github.com/ronnydo/colorpicker/releases/latest). -## Dependencies -You'll need the following dependencies to build: +For other systems, you will need to compile the package yourself. See the instructions below. + +## Build from source +If you like to build ColorPicker yourself, take a look at the [`dev-build.sh`](dev-build.sh) file. + +### Dependencies +You'll need the following dependencies to compile ColorPicker: * granite * libgtk-3-dev * meson * valac -## Build, Install and Run -If you like to build it by your own, have a look into the dev-build.sh file. +### Example +Here's a sample list of commands for building the package from source. These have been tested to work correctly on Ubuntu 18.04. + +```sh +sudo apt install valac libgranite-dev +git clone https://github.com/RonnyDo/ColorPicker.git +cd ColorPicker/ +chmod +x dev-build.sh +./dev-build.sh +```