Refactor install logic, use file-based overrides per OS/distro
This commit is contained in:
3
installs_and_builds/custom_aerospace_default
Executable file
3
installs_and_builds/custom_aerospace_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "program not applicable for this OS or distro, skipping build/installation"
|
||||
4
installs_and_builds/custom_aerospace_macos_default
Executable file
4
installs_and_builds/custom_aerospace_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# use normal package manager for macos install, since default is noop for other OSs
|
||||
${=BOX_SETUP_INSTALL_COMMAND} --cask nikitabobko/tap/aerospace
|
||||
3
installs_and_builds/custom_bitwig_studio_linux_default
Executable file
3
installs_and_builds/custom_bitwig_studio_linux_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "TODO: custom script for bitwig not yet implemented; may just want manual install"
|
||||
3
installs_and_builds/custom_bitwig_studio_macos_default
Executable file
3
installs_and_builds/custom_bitwig_studio_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "TODO: custom script for bitwig not yet implemented; may just want manual install"
|
||||
3
installs_and_builds/custom_clang_macos_default
Executable file
3
installs_and_builds/custom_clang_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
3
installs_and_builds/custom_coreutils_default
Executable file
3
installs_and_builds/custom_coreutils_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "program not applicable for this OS or distro, skipping build/installation"
|
||||
4
installs_and_builds/custom_coreutils_macos_default
Executable file
4
installs_and_builds/custom_coreutils_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# use normal package manager for macos install, since default is noop for other OSs
|
||||
${=BOX_SETUP_INSTALL_COMMAND} coreutils
|
||||
8
installs_and_builds/custom_dmenu_default
Executable file
8
installs_and_builds/custom_dmenu_default
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# for now, use luke's build; i can make my own fork later if desired
|
||||
git clone https://github.com/LukeSmithxyz/dmenu.git
|
||||
|
||||
pushd dmenu > /dev/null
|
||||
sudo make clean install
|
||||
popd > /dev/null
|
||||
3
installs_and_builds/custom_dmenu_macos_default
Executable file
3
installs_and_builds/custom_dmenu_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
7
installs_and_builds/custom_dwm_default
Executable file
7
installs_and_builds/custom_dwm_default
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
git clone https://git.drinkingtea.net/david/dwm.git
|
||||
|
||||
pushd dwm > /dev/null
|
||||
sudo make clean install
|
||||
popd > /dev/null
|
||||
3
installs_and_builds/custom_dwm_macos_default
Executable file
3
installs_and_builds/custom_dwm_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
3
installs_and_builds/custom_findutils_default
Executable file
3
installs_and_builds/custom_findutils_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "program not applicable for this OS or distro, skipping build/installation"
|
||||
4
installs_and_builds/custom_findutils_macos_default
Executable file
4
installs_and_builds/custom_findutils_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# use normal package manager for macos install, since default is noop for other OSs
|
||||
${=BOX_SETUP_INSTALL_COMMAND} findutils
|
||||
3
installs_and_builds/custom_gcc_macos_default
Executable file
3
installs_and_builds/custom_gcc_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
4
installs_and_builds/custom_gimp_macos_default
Executable file
4
installs_and_builds/custom_gimp_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# adjust prefix for package manager before install
|
||||
${=BOX_SETUP_INSTALL_COMMAND} --cask gimp
|
||||
4
installs_and_builds/custom_kitty_macos_default
Executable file
4
installs_and_builds/custom_kitty_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# adjust prefix for package manager before install
|
||||
${=BOX_SETUP_INSTALL_COMMAND} --cask kitty
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/zsh
|
||||
|
||||
git clone https://github.com/ibara/oksh.git
|
||||
|
||||
pushd oksh > /dev/null
|
||||
./configure
|
||||
make && sudo make install
|
||||
@@ -1,2 +0,0 @@
|
||||
echo 'hello from bitwig custom build!'
|
||||
echo 'custom script for bitwig is not yet implemented, these echos just here for testing'
|
||||
3
installs_and_builds/custom_musl_macos_default
Executable file
3
installs_and_builds/custom_musl_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
4
installs_and_builds/custom_pandoc_linux_arch
Executable file
4
installs_and_builds/custom_pandoc_linux_arch
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# change package name; on arch it is 'pandoc-cli'
|
||||
${=BOX_SETUP_INSTALL_COMMAND} pandoc-cli
|
||||
4
installs_and_builds/custom_pandoc_linux_artix
Executable file
4
installs_and_builds/custom_pandoc_linux_artix
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# change package name; on artix it is 'pandoc-bin'
|
||||
${=BOX_SETUP_INSTALL_COMMAND} pandoc-bin
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# from primeagen's examples and dev repo
|
||||
# currnetly not used, but keeping for reference in case i need this soon for debian
|
||||
|
||||
install_neovim_dir=$HOME/.local/build/neovim
|
||||
install_neovim_version="v0.10.3"
|
||||
[ ! -z $NVIM_VERSION ] && install_neovim_version="$NVIM_VERSION"
|
||||
echo "install_neovim_version: \"$install_neovim_version\""
|
||||
|
||||
[ ! -d $install_neovim_dir ] && git clone https://github.com/neovim/neovim.git $install_neovim_dir
|
||||
git -C $install_neovim_dir fetch --all
|
||||
git -C $install_neovim_dir checkout $install_neovim_version
|
||||
|
||||
make -C $install_neovim_dir clean
|
||||
make -C $install_neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
sudo make -C $install_neovim_dir install
|
||||
|
||||
3
installs_and_builds/custom_sed_macos_default
Executable file
3
installs_and_builds/custom_sed_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
3
installs_and_builds/custom_skhd_default
Executable file
3
installs_and_builds/custom_skhd_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "program not applicable for this OS or distro, skipping build/installation"
|
||||
4
installs_and_builds/custom_skhd_macos_default
Executable file
4
installs_and_builds/custom_skhd_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# use normal package manager for macos install, since default is noop for other OSs
|
||||
${=BOX_SETUP_INSTALL_COMMAND} koekeishiya/formulae/skhd
|
||||
9
installs_and_builds/custom_st_default
Executable file
9
installs_and_builds/custom_st_default
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# git clone https://git.drinkingtea.net/david/st.git
|
||||
|
||||
# pushd st > /dev/null
|
||||
# sudo make clean install
|
||||
# popd > /dev/null
|
||||
|
||||
echo "TODO: st build not yet done, skipping this install for now"
|
||||
3
installs_and_builds/custom_st_macos_default
Executable file
3
installs_and_builds/custom_st_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
4
installs_and_builds/custom_tenacity_macos_default
Executable file
4
installs_and_builds/custom_tenacity_macos_default
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# tenacity is not readily available on macos, so just use audacity for now
|
||||
${=BOX_SETUP_INSTALL_COMMAND} --cask audacity
|
||||
3
installs_and_builds/custom_zathura_macos_default
Executable file
3
installs_and_builds/custom_zathura_macos_default
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "intentionally skipping build/installation for macos"
|
||||
@@ -1,38 +0,0 @@
|
||||
name,kind,os_overrides,distro_overrides,system_type_overrides,notes
|
||||
gcc,package_manager,macos: name='',,,
|
||||
clang,package_manager,macos: name='',,,
|
||||
musl,package_manager,macos: name='',,,
|
||||
coreutils,package_manager,linux: name='',,,
|
||||
findutils,package_manager,linux: name='',,,
|
||||
make,package_manager,,,,
|
||||
cmake,package_manager,,,,
|
||||
mise,build_custom,,,,TODO implement the build_custom script for this
|
||||
mpv,package_manager,,,,
|
||||
kitty,package_manager,macos: name='--cask kitty',,,
|
||||
zsh,package_manager,,,,
|
||||
ksh,build_custom,,,,
|
||||
tmux,package_manager,,,,
|
||||
neovim,package_manager,,,,
|
||||
mutt,package_manager,,,,
|
||||
podman,package_manager,,,,
|
||||
curl,package_manager,,,,
|
||||
grep,package_manager,,,,
|
||||
ripgrep,package_manager,,,,
|
||||
sed,package_manager,macos: name='',,,
|
||||
fzf,package_manager,,,,
|
||||
jq,package_manager,,,,
|
||||
parallel,package_manager,,,,
|
||||
gettext,package_manager,,,,
|
||||
htop,package_manager,,,,
|
||||
ffmpeg,package_manager,,,work: name='',
|
||||
mpd,package_manager,,,,
|
||||
ncmpcpp,package_manager,,,,
|
||||
git,package_manager,,,,
|
||||
calcurse,package_manager,,,,
|
||||
zathura,package_manager,macos: name='',,,
|
||||
tenacity,package_manager,macos: name='--cask audacity',,work: name='',tenacity not available via homebrew; use audacity in macos
|
||||
bitwig-studio,package_manager,macos: name='--cask bitwig-studio',artix: kind='aur'; arch: kind='aur'; debian: kind='build_custom';,work: name='',
|
||||
gimp,package_manager,macos: name='--cask gimp',,,
|
||||
--cask nikitabobko/tap/aerospace,package_manager,linux: name='',,,
|
||||
koekeishiya/formulae/skhd,package_manager,linux: name='',,,
|
||||
pandoc,package_manager,,arch: name='pandoc-cli'; artix: name='pandoc-bin';,work: name='',
|
||||
|
30
installs_and_builds/programs_base.txt
Normal file
30
installs_and_builds/programs_base.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
gcc
|
||||
musl
|
||||
coreutils
|
||||
findutils
|
||||
make
|
||||
mpv
|
||||
kitty
|
||||
zsh
|
||||
ksh
|
||||
tmux
|
||||
neovim
|
||||
neomutt
|
||||
curl
|
||||
grep
|
||||
ripgrep
|
||||
sed
|
||||
fzf
|
||||
jq
|
||||
parallel
|
||||
gettext
|
||||
htop
|
||||
ffmpeg
|
||||
mpd
|
||||
ncmpcpp
|
||||
git
|
||||
calcurse
|
||||
zathura
|
||||
gimp
|
||||
aerospace
|
||||
skhd
|
||||
2
installs_and_builds/programs_music_studio.txt
Normal file
2
installs_and_builds/programs_music_studio.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
tenacity
|
||||
bitwig-studio
|
||||
5
installs_and_builds/programs_programming.txt
Normal file
5
installs_and_builds/programs_programming.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
clang
|
||||
cmake
|
||||
mise
|
||||
podman
|
||||
pandoc
|
||||
Reference in New Issue
Block a user