From dc88f9d608eec1cd602de744d696b7c095584f27 Mon Sep 17 00:00:00 2001 From: Edgar Date: Mon, 17 Jan 2022 15:43:28 +0000 Subject: [PATCH] :tada: Added doctave --- CMakeLists.txt | 1 + README.md | 6 ++++++ install-doctave.sh | 7 +++++++ templates/install-doctave.sh.in | 7 +++++++ 4 files changed, 21 insertions(+) create mode 100644 install-doctave.sh create mode 100644 templates/install-doctave.sh.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 57f3569..69fee2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ set(TOOLS "jesseduffield/lazydocker" "svenstaro/miniserve" "rami3l/pacaptr" + "Doctave/doctave" ) set(EXTRA_TOOLS diff --git a/README.md b/README.md index b94d246..60abeb1 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,12 @@ Repo: https://github.com/rami3l/pacaptr `curl "https://git.anotherfoxguy.com/AnotherFoxGuy/install-scripts/raw/branch/main/install-pacaptr.sh" | sudo bash` +### doctave + +Repo: https://github.com/Doctave/doctave + +`curl "https://git.anotherfoxguy.com/AnotherFoxGuy/install-scripts/raw/branch/main/install-doctave.sh" | sudo bash` + ### butler Repo: https://github.com/itchio/butler diff --git a/install-doctave.sh b/install-doctave.sh new file mode 100644 index 0000000..4399a8c --- /dev/null +++ b/install-doctave.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -eu + +mkdir -p /tmp/doctave +wget "https://github.com/Doctave/doctave/releases/download/0.4.1/doctave-0.4.1-x86_64-unknown-linux-musl.tar.gz" -nv -O /tmp/doctave.tar.gz +tar xvzf /tmp/doctave.tar.gz -C /tmp/doctave +install -m 755 /tmp/doctave/doctave-0.4.1-x86_64-unknown-linux-musl/doctave /usr/local/bin/ diff --git a/templates/install-doctave.sh.in b/templates/install-doctave.sh.in new file mode 100644 index 0000000..5d08d56 --- /dev/null +++ b/templates/install-doctave.sh.in @@ -0,0 +1,7 @@ +#!/bin/bash +set -eu + +mkdir -p /tmp/doctave +wget "https://github.com/Doctave/doctave/releases/download/@VERSION@/doctave-@VERSION@-x86_64-unknown-linux-musl.tar.gz" -nv -O /tmp/doctave.tar.gz +tar xvzf /tmp/doctave.tar.gz -C /tmp/doctave +install -m 755 /tmp/doctave/doctave-@VERSION@-x86_64-unknown-linux-musl/doctave /usr/local/bin/ \ No newline at end of file