From 6335fb5dd1bcc0c8b10501983e56ce68872b2217 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Wed, 08 Dec 2021 08:44:09 +0000
Subject: [PATCH] added antigen plugin manager

---
 Makefile |   31 +++++++++++++++++++++++++++++--
 1 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0575e03..83e60ba 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,10 @@
 SHELLS = bash zsh all-shells
 UTILS = emacs git aspell
 FUN = mpd ncmpcpp mailcap rtv
-DESKTOP = libinput-gestures wallpaper-reddit
+DESKTOP = libinput-gestures reddit-wallpaper-fetcher
+ARCH = paru
 
-CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP)
+CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP) $(ARCH)
 
 all: help
 
@@ -33,6 +34,25 @@
 .PHONY: $(CONFIGS:=-del)
 $(CONFIGS:=-del):
 	$(STOW) --delete -t $(HOME) $(@:-del=)
+
+.PHONY: emacs
+emacs:
+	git submodule update --init
+	$(STOW) -t $(HOME) $@
+
+.PHONY: zsh
+zsh:
+	mkdir ~/.zsh
+	git clone https://github.com/zsh-users/antigen.git ~/.zsh/antigen
+	$(STOW) -t $(HOME) $@
+
+.PHONY: termux
+termux: shells
+	$(STOW) -t $(HOME) $@
+
+.PHONY: termux-uninstall
+termux-uninstall: shells-uninstall
+	$(STOW) --delete -t $(HOME) $(@:-uninstall=)
 
 .PHONY: shells
 shells: $(SHELLS)
@@ -58,6 +78,12 @@
 .PHONY: desktop-uninstall
 desktop-uninstall: $(DESKTOP:=-del)
 
+.PHONY: arch
+arch: $(ARCH)
+
+.PHONY: arch-uninstall
+arch-uninstall: $(ARCH:=-del)
+
 .PHONY: $(INSTALL_TARGETS)
 $(INSTALL_TARGETS): $(CONFIGS)
 
@@ -73,3 +99,4 @@
 	$(ECHO) '	utils(-uninstall)'
 	$(ECHO) '	fun(-uninstall)'
 	$(ECHO) '	desktop(-uninstall)'
+	$(ECHO) '	termux(-uninstall)'

--
Gitblit v1.9.3