rename makest, it is not in bash anyways
This commit is contained in:
parent
a7aed49cf3
commit
192e80bff1
1 changed files with 0 additions and 0 deletions
31
makest
Executable file
31
makest
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env zsh
|
||||
ST_REPO=https://git.suckless.org/st
|
||||
ST_SRC=$PWD/st
|
||||
ST_CFG=$PWD/config.h
|
||||
PATCHLIST=(
|
||||
st-boxdraw.patch
|
||||
st-bright-bold-text.patch
|
||||
st-disable-bold-italic-fonts.patch
|
||||
st-disable-intensity-styles.patch
|
||||
)
|
||||
MAKE_OPTS=(
|
||||
PREFIX=$HOME/.local
|
||||
)
|
||||
|
||||
if [[ ! -r $ST_SRC/.git/config ]]; then
|
||||
git clone $ST_REPO $ST_SRC
|
||||
cd $ST_SRC
|
||||
else
|
||||
cd $ST_SRC
|
||||
git reset --hard
|
||||
git clean -fd
|
||||
git pull
|
||||
fi
|
||||
|
||||
cp $ST_CFG .
|
||||
|
||||
for patch in $PATCHLIST; do
|
||||
patch -p1 -i ../$patch
|
||||
done
|
||||
|
||||
make $MAKE_OPTS ${*-install}
|
Loading…
Add table
Add a link
Reference in a new issue