Compare commits
31 Commits
96883bc95f
...
main
Author | SHA1 | Date | |
---|---|---|---|
908b3dfab5 | |||
49f0d68a5c | |||
c2edc07ae5 | |||
7f6790fe84 | |||
214d88e51a | |||
0a2e22e382 | |||
9a7f28d586 | |||
124bd21bfe | |||
1aea187d9c | |||
77f004c2a2 | |||
21a06f4300 | |||
304fec5dfd | |||
4ffdb90e31 | |||
77bf0f81de | |||
f09e465457 | |||
75cfec61de | |||
019f7bcda3 | |||
31340e8d10 | |||
2661cbe4f8 | |||
3cd339543e | |||
15a6ca55f1 | |||
422afa3beb | |||
2343769a29 | |||
78a9622869 | |||
139f78e26a | |||
cfe7e7c5f4 | |||
050a5a4b37 | |||
5a50d94575 | |||
0b6df9cf90 | |||
f31036872d | |||
8083cb43f9 |
@@ -11,6 +11,8 @@ set(TOOLS
|
||||
"svenstaro/miniserve"
|
||||
"rami3l/pacaptr"
|
||||
"Doctave/doctave"
|
||||
"go-gitea/gitea"
|
||||
"zyedidia/eget"
|
||||
)
|
||||
|
||||
set(EXTRA_TOOLS
|
||||
|
12
README.md
12
README.md
@@ -52,6 +52,18 @@ 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`
|
||||
|
||||
### eget
|
||||
|
||||
Repo: https://github.com/zyedidia/eget
|
||||
|
||||
`curl "https://git.anotherfoxguy.com/AnotherFoxGuy/install-scripts/raw/branch/main/install-eget.sh" | sudo bash`
|
||||
|
||||
### butler
|
||||
|
||||
Repo: https://github.com/itchio/butler
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-Linux-x86_64.sh" -nv -O /tmp/cmake.sh
|
||||
wget "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-Linux-x86_64.sh" -nv -O /tmp/cmake.sh
|
||||
sh /tmp/cmake.sh --exclude-subdir --prefix=/usr/local
|
||||
|
5
install-conan2.0.sh
Normal file
5
install-conan2.0.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/conan-io/conan/releases/latest/download/conan-ubuntu-64.deb" -nv -O /tmp/conan.deb
|
||||
dpkg -i /tmp/conan.deb
|
6
install-eget.sh
Normal file
6
install-eget.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/zyedidia/eget/releases/download/v1.3.4/eget-1.3.4-linux_amd64.tar.gz" -nv -O /tmp/eget.tar.gz
|
||||
tar xvzf /tmp/eget.tar.gz -C /tmp/eget
|
||||
install -m 755 /tmp/eget/eget-1.3.4-linux_amd64/eget /usr/local/bin/
|
5
install-gitea.sh
Normal file
5
install-gitea.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/go-gitea/gitea/releases/download/v1.24.2/gitea-1.24.2-linux-amd64" -nv -O /tmp/gitea
|
||||
install -m 755 /tmp/gitea /usr/local/bin/
|
@@ -2,6 +2,6 @@
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/lazydocker
|
||||
wget "https://github.com/jesseduffield/lazydocker/releases/download/v0.18.1/lazydocker_0.18.1_Linux_x86_64.tar.gz" -nv -O /tmp/lazydocker.tar.gz
|
||||
wget "https://github.com/jesseduffield/lazydocker/releases/download/v0.24.1/lazydocker_0.24.1_Linux_x86_64.tar.gz" -nv -O /tmp/lazydocker.tar.gz
|
||||
tar xvzf /tmp/lazydocker.tar.gz -C /tmp/lazydocker
|
||||
install -m 755 /tmp/lazydocker/lazydocker /usr/local/bin/
|
||||
|
@@ -2,6 +2,6 @@
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/lazygit
|
||||
wget "https://github.com/jesseduffield/lazygit/releases/download/v0.35/lazygit_0.35_Linux_x86_64.tar.gz" -nv -O /tmp/lazygit.tar.gz
|
||||
wget "https://github.com/jesseduffield/lazygit/releases/download/v0.53.0/lazygit_0.53.0_Linux_x86_64.tar.gz" -nv -O /tmp/lazygit.tar.gz
|
||||
tar xvzf /tmp/lazygit.tar.gz -C /tmp/lazygit
|
||||
install -m 755 /tmp/lazygit/lazygit /usr/local/bin/
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/svenstaro/miniserve/releases/download/v0.20.0/miniserve-v0.20.0-x86_64-unknown-linux-musl" -nv -O /tmp/miniserve
|
||||
wget "https://github.com/svenstaro/miniserve/releases/download/v0.31.0/miniserve-v0.31.0-x86_64-unknown-linux-musl" -nv -O /tmp/miniserve
|
||||
install -m 755 /tmp/miniserve /usr/local/bin/
|
||||
|
@@ -2,6 +2,6 @@
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/pacaptr
|
||||
wget "https://github.com/rami3l/pacaptr/releases/download/v0.16.1/pacaptr-linux-amd64.tar.gz" -nv -O /tmp/pacaptr.tar.gz
|
||||
wget "https://github.com/rami3l/pacaptr/releases/download/v0.23.0/pacaptr-linux-amd64.tar.gz" -nv -O /tmp/pacaptr.tar.gz
|
||||
tar xvzf /tmp/pacaptr.tar.gz -C /tmp/pacaptr
|
||||
install -m 755 /tmp/pacaptr/pacaptr /usr/local/bin/fakeman
|
||||
install -m 755 /tmp/pacaptr/pacaptr /usr/local/bin/yay
|
||||
|
@@ -2,6 +2,6 @@
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/sccache
|
||||
wget "https://github.com/mozilla/sccache/releases/download/v0.3.0/sccache-v0.3.0-x86_64-unknown-linux-musl.tar.gz" -nv -O /tmp/sccache.tar.gz
|
||||
wget "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz" -nv -O /tmp/sccache.tar.gz
|
||||
tar xvzf /tmp/sccache.tar.gz --strip 1 -C /tmp/sccache
|
||||
install -m 755 /tmp/sccache/sccache /usr/local/bin/
|
||||
|
6
templates/install-eget.sh.in
Normal file
6
templates/install-eget.sh.in
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/zyedidia/eget/releases/download/v@VERSION@/eget-@VERSION@-linux_amd64.tar.gz" -nv -O /tmp/eget.tar.gz
|
||||
tar xvzf /tmp/eget.tar.gz -C /tmp/eget
|
||||
install -m 755 /tmp/eget/eget-@VERSION@-linux_amd64/eget /usr/local/bin/
|
5
templates/install-gitea.sh.in
Normal file
5
templates/install-gitea.sh.in
Normal file
@@ -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/
|
@@ -4,13 +4,8 @@ endmacro()
|
||||
|
||||
mgs("TOOL \"${TOOL}\" OWNER \"${OWNER}\"")
|
||||
|
||||
SET(URL "https://api.github.com/repos/${OWNER}/${TOOL}/releases/latest")
|
||||
|
||||
execute_process(COMMAND curl -s -L ${URL} OUTPUT_VARIABLE VERSION_JSON)
|
||||
string(JSON VERSION_DIRTY GET ${VERSION_JSON} tag_name)
|
||||
|
||||
string(REGEX REPLACE [^0-9\\.] "" VERSION "${VERSION_DIRTY}")
|
||||
string(REPLACE "." "_" VERSION_UNDERSCORE ${VERSION})
|
||||
execute_process(COMMAND lastversion "${OWNER}/${TOOL}" OUTPUT_VARIABLE VERSION)
|
||||
string(REPLACE "\n" "" VERSION "${VERSION}")
|
||||
|
||||
mgs("Latest VERSION ${VERSION}")
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/templates/install-${TOOL}.sh.in" "${CMAKE_CURRENT_LIST_DIR}/install-${TOOL}.sh" @ONLY)
|
Reference in New Issue
Block a user