build: Add build instructions for tar file

This commit is contained in:
patrick96 2019-01-07 17:24:22 +01:00 committed by Patrick Ziegler
parent 8bca79f561
commit b22efd1fd9
1 changed files with 12 additions and 7 deletions

View File

@ -129,13 +129,18 @@ Find a more complete list on the [dedicated wiki page](https://github.com/jaagr/
Please [report any problems](https://github.com/jaagr/polybar/issues/new/choose) you run into when building the project.
~~~ sh
$ git clone --branch 3.3 --recursive https://github.com/jaagr/polybar
$ mkdir polybar/build
$ cd polybar/build
$ cmake ..
$ sudo make install
~~~
Download the `polybar-<version>.tar` for the version you want to build from the
[release page](https://github.com/jaagr/polybar/releases), extract it with
`tar xvf polybar-<version>.tar` and go into the extracted folder. There, run
the following commands:
```sh
$ mkdir build
$ cd build
$ cmake ..
$ make -j$(nproc)
$ sudo make install
```
There's also a helper script available in the root folder: