Compare commits
38 Commits
Author | SHA1 | Date | |
---|---|---|---|
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 | |||
96883bc95f | |||
ee8d90601c | |||
ac1e6a11e6 | |||
7aa5b72532 | |||
e3c8b5bb1f | |||
ff28da95fc | |||
b83a6ec43f | |||
2ff27d6976 | |||
dc88f9d608 |
@ -10,6 +10,9 @@ set(TOOLS
|
||||
"jesseduffield/lazydocker"
|
||||
"svenstaro/miniserve"
|
||||
"rami3l/pacaptr"
|
||||
"Doctave/doctave"
|
||||
"go-gitea/gitea"
|
||||
"zyedidia/eget"
|
||||
)
|
||||
|
||||
set(EXTRA_TOOLS
|
||||
|
18
README.md
18
README.md
@ -46,6 +46,24 @@ 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`
|
||||
|
||||
### 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.22.1/cmake-3.22.1-Linux-x86_64.sh" -nv -O /tmp/cmake.sh
|
||||
wget "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-Linux-x86_64.sh" -nv -O /tmp/cmake.sh
|
||||
sh /tmp/cmake.sh --exclude-subdir --prefix=/usr/local
|
||||
|
@ -1,5 +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
|
||||
wget "https://github.com/AnotherFoxGuy/conan-onefile/releases/latest/download/conan-linux" -nv -O /tmp/conan
|
||||
install -m 755 /tmp/conan /usr/local/bin/
|
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
|
7
install-doctave.sh
Normal file
7
install-doctave.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/doctave
|
||||
wget "https://github.com/Doctave/doctave/releases/download/0.4.2/doctave-0.4.2-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.2-x86_64-unknown-linux-musl/doctave /usr/local/bin/
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
wget "https://github.com/muesli/duf/releases/download/v0.7.0/duf_0.7.0_linux_amd64.deb" -nv -O /tmp/duf.deb
|
||||
wget "https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb" -nv -O /tmp/duf.deb
|
||||
dpkg -i /tmp/duf.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.23.7/gitea-1.23.7-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.12/lazydocker_0.12_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.32/lazygit_0.32_Linux_x86_64.tar.gz" -nv -O /tmp/lazygit.tar.gz
|
||||
wget "https://github.com/jesseduffield/lazygit/releases/download/v0.49.0/lazygit_0.49.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.18.0/miniserve-v0.18.0-x86_64-unknown-linux-musl" -nv -O /tmp/miniserve
|
||||
wget "https://github.com/svenstaro/miniserve/releases/download/v0.29.0/miniserve-v0.29.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.14.0/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
|
||||
|
@ -2,6 +2,6 @@
|
||||
set -eu
|
||||
|
||||
mkdir -p /tmp/sccache
|
||||
wget "https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-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/
|
||||
|
7
templates/install-doctave.sh.in
Normal file
7
templates/install-doctave.sh.in
Normal file
@ -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/
|
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