update to .dot-files-laptop
This commit is contained in:
parent
ae9a611ea6
commit
3bae03e47a
46 changed files with 3332 additions and 0 deletions
32
.dot-files-laptop/.bin/sh/quakespasm-compile.sh
Executable file
32
.dot-files-laptop/.bin/sh/quakespasm-compile.sh
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Switch to git directory and clone source
|
||||
{
|
||||
cd /home/peter/Downloads/git;
|
||||
git clone https://github.com/Shpoike/Quakespasm.git;
|
||||
}
|
||||
|
||||
# Build binary
|
||||
|
||||
{
|
||||
cd /home/peter/Downloads/git/Quakespasm/Quake;
|
||||
make;
|
||||
}
|
||||
|
||||
# Install executable @ ~/.bin
|
||||
|
||||
{
|
||||
cd /home/peter/.bin/Quakespasm;
|
||||
mv /home/peter/.bin/Quakespasm/quakespasm /home/peter/.bin/Quakespasm/old;
|
||||
mv /home/peter/.bin/Quakespasm/quakespasm.pak /home/peter/.bin/Quakespasm/old;
|
||||
cd /home/peter/Downloads/git/Quakespasm/Quake;
|
||||
cp /home/peter/Downloads/git/Quakespasm/Quake/quakespasm /home/peter/.bin/Quakespasm;
|
||||
cp /home/peter/Downloads/git/Quakespasm/Quake/quakespasm.pak /home/peter/.bin/Quakespasm;
|
||||
chmod 755 /home/peter/.bin/Quakespasm;
|
||||
}
|
||||
|
||||
# Cleanup
|
||||
|
||||
{
|
||||
rm -rf /home/peter/Downloads/git/Quakespasm;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue