From 8fe0c425f7b06ab85c715087671d7eb502665744 Mon Sep 17 00:00:00 2001
From: rokosun <rokosun@noreply.git.trom.tf>
Date: Sat, 28 Oct 2023 14:19:35 +0200
Subject: [PATCH] Fix issues with Makefile

Fixes these problems:

* The `make` command for building the package simply called `makepkg` instead of `makepkg -s` which could also install missing dependencies with pacman

* The name of the package has been changed to tromjaro-theme-switcher but Makefile still used the old name theme-switcher, also the extension for Arch linux package is now `.tar.zst` instead of the previous `.tar.xz` - all of this meant that the `make install` command was not working properly

* `make clean` command didn't remove icons.zip and the proper linux package file which now ends in `.tar.zst` instead of the previous `.tar.xz`
---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index eabba4d..483e10a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
-# makefile for theme-switcher
+# makefile for tromjaro-theme-switcher
 build:
-	makepkg
+	makepkg -s
 
 install:
-	pamac-installer theme-switcher-*.tar.xz
+	pamac-installer tromjaro-theme-switcher-*.tar.zst
 
 remove:
-	pamac-installer --remove theme-switcher
+	pamac-installer --remove tromjaro-theme-switcher
 
 clean:
-	$(RM) -rf src/ pkg/ *.tar.xz
+	$(RM) -rf src/ pkg/ icons.zip *.tar.zst