annotate bing4desktop/Makefile.aur @ 13:73fd89b46da4

bing4desktop-0.240206-3
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 17:47:04 +0100
parents
children 4770f6dca839
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
1 prefix=/usr
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
2 #MYDIR=/home
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
3
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
4 install: bing4desktop.py
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
5 mkdir -pm 0755 $(DESTDIR)$(prefix)/bin
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
6 mkdir -pm 0755 $(DESTDIR)$(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
7 mkdir -pm 0755 $(DESTDIR)/etc/xdg/autostart
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
8 install -m 0755 bing4desktop.py $(DESTDIR)$(prefix)/bin
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
9 install -m 0644 bing.ico $(DESTDIR)$(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
10 install -m 0644 bing.png $(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
11 install -m 0644 bing4desktops.desktop $(DESTDIR)$(prefix)/share/applications
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
12 install -m 0644 bing4desktops.desktop $(DESTDIR)/etc/xdg/autostart
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
13 #$(shell ./copy_desktop.sh)
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
14 .PHONY: install
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
15
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
16 uninstall:
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
17 rm $(prefix)/bin/bing4desktop.py
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
18 rm $(prefix)/share/bing4desktop/bing.ico
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
19 rm $(prefix)/share/bing4desktop/bing.png
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
20 rm $(prefix)/share/applications/bing4desktops.desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
21 rm /etc/xdg/autostart/bing4desktop.desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
22 rmdir $(prefix)/share/bing4desktop/
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
23 #$(shell ./copy_desktop.sh)
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
24 .PHONY: uninstall