make packaging based

This commit is contained in:
dada513
2022-01-29 08:56:04 +01:00
parent 232295bda7
commit ca00103ee2
2 changed files with 21 additions and 22 deletions

View File

@ -63,14 +63,15 @@ make -j$(nproc) install # Optionally specify DESTDIR for packages (i.e. DESTDIR=
### Building a .deb
You need to install the build dependencies first
Requirements: [makedeb](https://docs.makedeb.org/) installed on your system.
```sh
cd packages/debian
./makedeb.sh
```
git clone https://mpr.makedeb.org/polymc.git
cd polymc
makedeb -s
```
If everything works correctly, the .deb will be next to the build script, in `PolyMC/packages/debian`
The deb will be located in the directory the repo was cloned in.
### Building a .rpm