0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 21:53:31 -05:00

Merge branch 'main' of gitlab.com:stanzabird/source

This commit is contained in:
Bert van der Weerd 2021-11-20 07:32:17 +01:00
commit f688a391c0
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1

27
README.md Normal file
View file

@ -0,0 +1,27 @@
## Building LibreWolf from source
First, let's head over to the [releases page](https://gitlab.com/stanzabird/source/-/releases); note and download the latest version. Once downloaded, extract it.
```
export version=94.0.1
wget -q https://fresh.librewolf.io/librewolf-$(version)/librewolf-$(version).source.tar.gz
tar xf librewolf-$(version).source.tar.gz
```
Next step, if you have not done so already, you must create the build environment:
```
python3 librewolf-$(version)/lw-assets/bootstrap.py
```
It takes about an hour for me to complete, but it needs to be done only once.
Now we're ready to actually build LibreWolf:
```
cd librewplf-$(version)
./mach build
```
Also takes me an hour. Then, we can run it:
```
./mach run
```
Or make a package:
```
./mach package
```