view bing4desktop/Makefile.aur @ 34:9bcb32b7526a

bing4desktop-0.240209-0
author prymula <prymula76@outlook.com>
date Fri, 09 Feb 2024 14:39:54 +0100
parents 61c9889ed899
children
line wrap: on
line source

prefix=/usr

install: bing4desktop.py
	mkdir -pm 0755 $(DESTDIR)$(prefix)/bin
	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/bing4desktop
	mkdir -pm 0755 $(DESTDIR)$(prefix)/share/applications
	mkdir -pm 0755 $(DESTDIR)/etc/xdg/autostart
	install -m 0755 bing4desktop.py $(DESTDIR)$(prefix)/bin
	install -m 0644 bing.ico $(DESTDIR)$(prefix)/share/bing4desktop
	install -m 0644 bing.png $(DESTDIR)$(prefix)/share/bing4desktop
	install -m 0644 bing4desktop.desktop $(DESTDIR)$(prefix)/share/applications
	install -m 0644 bing4desktop.desktop $(DESTDIR)/etc/xdg/autostart
	#$(shell ./copy_desktop.sh)
.PHONY: install

uninstall:
	rm $(prefix)/bin/bing4desktop.py
	rm $(prefix)/share/bing4desktop/bing.ico
	rm $(prefix)/share/bing4desktop/bing.png
	rm $(prefix)/share/applications/bing4desktop.desktop
	rm /etc/xdg/autostart/bing4desktop.desktop
	rmdir $(prefix)/share/bing4desktop/
	#$(shell ./remove_desktop.sh)
.PHONY: uninstall