diff --git a/CMakeLists.txt b/CMakeLists.txt index 69fee2e..85d9d97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ set(TOOLS "svenstaro/miniserve" "rami3l/pacaptr" "Doctave/doctave" + "go-gitea/gitea" ) set(EXTRA_TOOLS diff --git a/README.md b/README.md index 60abeb1..7f1a192 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,12 @@ Repo: https://github.com/Doctave/doctave `curl "https://git.anotherfoxguy.com/AnotherFoxGuy/install-scripts/raw/branch/main/install-doctave.sh" | sudo bash` +### gitea + +Repo: https://github.com/go-gitea/gitea + +`curl "https://git.anotherfoxguy.com/AnotherFoxGuy/install-scripts/raw/branch/main/install-gitea.sh" | sudo bash` + ### butler Repo: https://github.com/itchio/butler diff --git a/install-gitea.sh b/install-gitea.sh new file mode 100644 index 0000000..3bd776b --- /dev/null +++ b/install-gitea.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -eu + +wget "https://github.com/go-gitea/gitea/releases/download/v1.22.1/gitea-1.22.1-linux-amd64" -nv -O /tmp/gitea +install -m 755 /tmp/gitea /usr/local/bin/ diff --git a/templates/install-gitea.sh.in b/templates/install-gitea.sh.in new file mode 100644 index 0000000..20b2f7a --- /dev/null +++ b/templates/install-gitea.sh.in @@ -0,0 +1,5 @@ +#!/bin/bash +set -eu + +wget "https://github.com/go-gitea/gitea/releases/download/v@VERSION@/gitea-@VERSION@-linux-amd64" -nv -O /tmp/gitea +install -m 755 /tmp/gitea /usr/local/bin/ \ No newline at end of file