1
0

move arch_yay.sh to Makefile

This commit is contained in:
dtb 2022-06-02 20:11:41 -04:00
parent 9656df141b
commit b65d3b2adf
3 changed files with 20 additions and 20 deletions

View File

@ -143,9 +143,16 @@ PROGRAMS= \
zathura zathura-cb zathura-djvu \
zathura-ps
alpine-setup:
alpine-programs:
apk add $(PROGRAMS)
arch-yay:
git clone "https://aur.archlinux.org/yay.git" || true
cd yay
git pull
makepkg -si
yay -V
spacer:
# creates an 8GB empty file in the root dir
# that way when the alarm bells go off you can delete it to save a
@ -154,4 +161,16 @@ spacer:
# 512 * 16777216 = 8GB
dd bs=512 count=16777216 </dev/zero >/spacer.bin
unscii-system:
mkdir -p ~/.fonts
curl "http://viznut.fi/unscii/unscii-16-full.otf" >"~/.fonts/unscii-16-full.otf"
curl "http://viznut.fi/unscii/unscii-16-full.pcf" >"~/.fonts/unscii-16-full.pcf"
curl "http://viznut.fi/unscii/unscii-16-full.ttf" >"~/.fonts/unscii-16-full.ttf"
unscii-user:
mkdir -p /usr/share/fonts/unscii
curl "http://viznut.fi/unscii/unscii-16-full.otf" >"/usr/share/fonts/unscii/unscii-16-full.otf"
curl "http://viznut.fi/unscii/unscii-16-full.pcf" >"/usr/share/fonts/unscii/unscii-16-full.pcf"
curl "http://viznut.fi/unscii/unscii-16-full.ttf" >"/usr/share/fonts/unscii/unscii-16-full.ttf"
.PHONY: all clean cleanlibraries cleanprograms noargvzero stdbool sysexits

View File

@ -1,13 +0,0 @@
#!/bin/bash
set -e
source ./cdecho.sh
YAYURL="https://aur.archlinux.org/yay.git"
cde $HOME/src
git clone $YAYURL || printf "yay already downloaded\n"
cde yay
git pull
makepkg -si
yay -V

View File

@ -1,6 +0,0 @@
#!/bin/sh
mkdir -p $HOME/src
cd $HOME/src
git clone https://git.suckless.org/sic
cd $HOME/src/dotfiles/scripts
./dsic.sh # apply patches