make phone/out-of-tree install git-annex

This commit is contained in:
stupidcomputer 2024-10-21 17:03:13 -05:00
parent bf7565e916
commit e604037100
4 changed files with 18 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# paths and stuff
export PATH="$PATH:$HOME/.local/bin"
if [ $(hostname) = "localhost" ]; then # this is phone
export PATH="$PATH:$HOME/dot_testing/boxes/phone/out-of-tree/git-annex.linux"
fi
export MANPATH="$(manpath -q):$HOME/.local/share/man"
export EDITOR="nvim"
mkdir -p "$HOME/.local/bin" "$HOME/.share/man"

2
boxes/phone/out-of-tree/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
git-annex-install
git-annex.linux

View File

@ -1,4 +1,4 @@
termux: termux-pkgs termux-dots utils-sh st pip-pkgs
termux: termux-pkgs termux-dots utils-sh st pip-pkgs git-annex.linux
st:
cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
@ -40,6 +40,7 @@ termux-pkgs:
jq \
isync \
neomutt \
wget \
x11-repo
termux-dots:
@ -51,3 +52,6 @@ termux-dots:
cp $(CURDIR)/../../../home/wallpapers/pape.jpg ~/.local/share
mkdir -p ~/.shortcuts
cp $(CURDIR)/shortcuts/* ~/.shortcuts
git-annex.linux:
bash install-git-annex.sh

View File

@ -0,0 +1,7 @@
wget https://git-annex.branchable.com/install/Android/git-annex-install
MY_WD=$(pwd)
source git-annex-install || printf "failed\n"
cd "$MY_WD"
mv ~/git-annex.linux ./