From 09500df3ee0815f11a717e266ff4b865a5e19148 Mon Sep 17 00:00:00 2001 From: Etto48 Date: Sat, 9 Nov 2024 06:20:14 +0100 Subject: [PATCH] Better installation instructions --- docs/README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/README.md b/docs/README.md index 8e3728e..38be6bc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -40,6 +40,15 @@ To install it, simply run: pkgin install hexpatch ``` +##### Build from source on NetBSD + +If you prefer to build from source: + +```bash +cd /usr/pkgsrc/devel/hexpatch +make install +``` + #### Arch Linux On Arch Linux, a package is available from the [official repositories](https://archlinux.org/packages/extra/x86_64/hexpatch/): @@ -48,13 +57,19 @@ On Arch Linux, a package is available from the [official repositories](https://a pacman -S hexpatch ``` -#### Build from source +### Building from source with cargo -If you prefer to build from source: +Clone the repository ```bash -cd /usr/pkgsrc/devel/hexpatch -make install +git clone https://github.com/Etto48/HexPatch.git +cd HexPatch +``` + +Build and install + +```bash +cargo install --path . ``` ## SSH connection