From c1f209c7a5026ac9b35b0edf50d5ab4da661535c Mon Sep 17 00:00:00 2001
From: Aurel Canciu <aurelcanciu@gmail.com>
Date: Thu, 3 Dec 2020 12:44:50 +0200
Subject: [PATCH] Add information about the AUR packages to docs

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
---
 README.md                 | 10 ++++++++++
 docs/get-started/index.md |  9 +++++++++
 2 files changed, 19 insertions(+)

diff --git a/README.md b/README.md
index 32120e73..6f445013 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,16 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
 . <(flux completion bash)
 ```
 
+Arch Linux (AUR) packages:
+
+There are three packages published in AUR:
+- [flux-bin](https://aur.archlinux.org/packages/flux-bin): install the latest
+  stable version using a pre-build binary (recommended)
+- [flux-go](https://aur.archlinux.org/packages/flux-go): build the latest
+  stable version from source code
+- [flux-scm](https://aur.archlinux.org/packages/flux-scm): build the latest
+  (unstable) version from source code from our git `main` branch
+
 Binaries for macOS, Windows and Linux AMD64/ARM are available to download on the
 [release page](https://github.com/fluxcd/flux2/releases).
 
diff --git a/docs/get-started/index.md b/docs/get-started/index.md
index 15a165e7..ed43c342 100644
--- a/docs/get-started/index.md
+++ b/docs/get-started/index.md
@@ -34,6 +34,15 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
 
 The install script downloads the flux binary to `/usr/local/bin`.
 
+If using Arch Linux, there are three packages published in AUR you can use to
+install `flux`:
+- [flux-bin](https://aur.archlinux.org/packages/flux-bin): install the latest
+  stable version using a pre-build binary (recommended)
+- [flux-go](https://aur.archlinux.org/packages/flux-go): build the latest
+  stable version from source code
+- [flux-scm](https://aur.archlinux.org/packages/flux-scm): build the latest
+  (unstable) version from source code from our git `main` branch
+
 Binaries for **macOS**, **Windows** and **Linux** AMD64/ARM are available for download on the
 [release page](https://github.com/fluxcd/flux2/releases).
 
-- 
GitLab