update/makefile
René Fuhry c7134e7919
Made flatpak optional and some code cleanup (#11)
* Add PKGBUILD

* This is a basic implementation that works.

* I know what I am doing. Trust me.

* Made flatpak optional and code cleanup

* fixed issue with useless error msg

---------

Co-authored-by: FUH22860 <101731147+FUH22860@users.noreply.github.com>
2023-03-09 00:19:24 +01:00

13 lines
344 B
Makefile

VER = "v1.7"
install:
@echo "==> Installing update $(VER) into /usr/local/bin"
@sudo install -Dm755 update /usr/local/bin/update
@cp update.conf ${HOME}/.config/
@echo "==> Finished."
uninstall:
@echo "==> Uninstalling update $(VER) from /usr/local/bin"
@sudo rm /usr/local/bin/update ${HOME}/.config/update.conf
@echo "==> Finished."