diff options
Diffstat (limited to '')
-rw-r--r-- | wire-desktop/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/wire-desktop/Makefile b/wire-desktop/Makefile new file mode 100644 index 0000000..ee40a34 --- /dev/null +++ b/wire-desktop/Makefile @@ -0,0 +1,19 @@ +.POSIX: + +install: + test -f ~/.var/wire/WireCrypt.img + test -f ~/.var/wire/WireCrypt.key + mkdir -p -- ~/.var/wire/WireCrypt.d + test -e ~/.config/Wire || ln -s -- ../.var/wire/WireCrypt.d/Wire ~/.config/Wire + pacman -Qq -- asroot </dev/null >/dev/null + pacman -Qq -- gnupg </dev/null >/dev/null + pacman -Qq -- cryptsetup </dev/null >/dev/null + mkdir -p -- ~/.config/bash/aliases.d + test ! -d ~/.config/bash/aliases.d/wire-desktop + ln -sf -- ~/.dotfiles/wire-desktop/bash-aliases ~/.config/bash/aliases.d/wire-desktop + +uninstall: + -unlink -- ~/.config/bash/aliases.d/wire-desktop + -rmdir -- ~/.config/bash/aliases.d + +.PHONY: install uninstall |