add scripts

This commit is contained in:
Simon Belmont 2025-03-24 12:47:13 -04:00
parent 8e5898aa57
commit 428458e50a
36 changed files with 934 additions and 0 deletions

30
.bin/sh/voidsw-compile.sh Executable file
View file

@ -0,0 +1,30 @@
#!/bin/sh
# Switch to git directory and clone source
{
cd /home/peter/Downloads/git;
git clone https://voidpoint.io/terminx/eduke32.git;
}
# Build binary
{
cd eduke32;
make voidsw;
}
# Install executable @ ~/.bin
{
cd /home/peter/.bin/voidsw;
mv /home/peter/.bin/voidsw/voidsw /home/peter/.bin/voidsw/.old;
cd /home/peter/Downloads/git/eduke32;
cp /home/peter/Downloads/git/eduke32/voidsw /home/peter/.bin/voidsw;
chmod 755 /home/peter/.bin/voidsw/voidsw;
}
# Cleanup
{
rm -rf /home/peter/Downloads/git/eduke32;
}