diff options
-rw-r--r-- | BUILD.md | 11 | ||||
-rw-r--r-- | README.md | 32 |
2 files changed, 21 insertions, 22 deletions
@@ -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 @@ -27,12 +27,12 @@ This is a **fork** of the MultiMC Launcher and not endorsed by MultiMC. The Poly ### <img src="https://www.vectorlogo.zone/logos/archlinux/archlinux-icon.svg" height="20"/> Arch Linux There are several AUR packages available: -[](https://aur.archlinux.org/packages/polymc/) -[](https://aur.archlinux.org/packages/polymc-bin/) -[](https://aur.archlinux.org/packages/polymc-git/) +[](https://aur.archlinux.org/packages/polymc/) +[](https://aur.archlinux.org/packages/polymc-bin/) +[](https://aur.archlinux.org/packages/polymc-git/) ```sh -# stable source package +# stable source package: yay -S polymc # stable binary package: yay -S polymc-bin @@ -40,22 +40,19 @@ yay -S polymc-bin yay -S polymc-git ``` -A prebuilt Arch package is available: -[Arch Linux (AMD64)](https://packages.polymc.org/latest/arch/polymc-bin-latest-1-x86_64.pkg.tar.zst) ([SHA256](https://packages.polymc.org/latest/arch/polymc-bin-latest-1-x86_64.pkg.tar.zst.sha256)) - -``` -wget https://packages.polymc.org/latest/arch/polymc-bin-latest-1-x86_64.pkg.tar.zst -sudo pacman -U polymc-bin-latest-1-x86_64.pkg.tar.zst -``` - ### <img src="https://www.vectorlogo.zone/logos/debian/debian-icon.svg" height="20" /> Debian -A prebuilt deb package is available: -[Debian (AMD64)](https://packages.polymc.org/latest/deb/polymc-amd64.deb) ([SHA256](https://packages.polymc.org/latest/deb/polymc-amd64.deb.sha256)) +We use [makedeb](https://docs.makedeb.org/) for our Debian packages. +Several MPR packages are available: + +[](https://mpr.makedeb.org/packages/polymc) +[](https://mpr.makedeb.org/packages/polymc-bin) ```sh -wget https://packages.polymc.org/latest/deb/polymc-amd64.deb -sudo apt install ./polymc-amd64.deb +# stable source package: +sudo tap install polymc +# stable binary package: +sudo tap install polymc-bin ``` ### <img src="https://www.vectorlogo.zone/logos/nixos/nixos-icon.svg" height="20" /> Nix @@ -67,12 +64,13 @@ A [Nix derivation](packages/nix/NIX.md) is available. A Gentoo ebuild is available in the [swirl](https://git.swurl.xyz/swirl/ebuilds) overlay, named `games-action/polymc`. ```sh +# as root: emerge --oneshot eselect-repository eselect-repository enable swirl emaint sync -r swirl emerge polymc # to use latest git version: -sudo tee -a /etc/portage/package.accept_keywords <<< "=games-action/polymc-9999 ~amd64" +sudo tee -a /etc/portage/package.accept_keywords <<< "=games-action/polymc-9999 **" ``` ### <img src="https://www.vectorlogo.zone/logos/getfedora/getfedora-icon.svg" height="20"> Fedora |