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`
This commit is contained in:
Rokosun 2023-10-28 14:19:35 +02:00
parent e50903aab7
commit 8fe0c425f7

View File

@ -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