build: Add build instructions for tar file
This commit is contained in:
parent
8bca79f561
commit
b22efd1fd9
19
README.md
19
README.md
@ -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.
|
Please [report any problems](https://github.com/jaagr/polybar/issues/new/choose) you run into when building the project.
|
||||||
|
|
||||||
~~~ sh
|
Download the `polybar-<version>.tar` for the version you want to build from the
|
||||||
$ git clone --branch 3.3 --recursive https://github.com/jaagr/polybar
|
[release page](https://github.com/jaagr/polybar/releases), extract it with
|
||||||
$ mkdir polybar/build
|
`tar xvf polybar-<version>.tar` and go into the extracted folder. There, run
|
||||||
$ cd polybar/build
|
the following commands:
|
||||||
$ cmake ..
|
|
||||||
$ sudo make install
|
```sh
|
||||||
~~~
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake ..
|
||||||
|
$ make -j$(nproc)
|
||||||
|
$ sudo make install
|
||||||
|
```
|
||||||
|
|
||||||
There's also a helper script available in the root folder:
|
There's also a helper script available in the root folder:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user