-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
32 lines (32 loc) · 1.57 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
install :
cp G213Colors.py /usr/bin/G213Colors.py
cp main.py /usr/bin/g213colors-gui
cp default.conf /etc/G213Colors.conf
cp g213colors.service /etc/systemd/system/g213colors.service
chmod +x /usr/bin/G213Colors.py
chmod +x /usr/bin/g213colors-gui
cp icons/G213Colors-16.png /usr/share/icons/hicolor/16x16/apps/g213colors.png
cp icons/G213Colors-24.png /usr/share/icons/hicolor/24x24/apps/g213colors.png
cp icons/G213Colors-32.png /usr/share/icons/hicolor/32x32/apps/g213colors.png
cp icons/G213Colors-48.png /usr/share/icons/hicolor/48x48/apps/g213colors.png
cp icons/G213Colors-128.png /usr/share/icons/hicolor/128x128/apps/g213colors.png
cp icons/G213Colors-192.png /usr/share/icons/hicolor/192x192/apps/g213colors.png
cp G213Colors.desktop /usr/share/applications/g213colors.desktop
cp be.jeroened.pkexec.g213colors.policy /usr/share/polkit-1/actions/
gtk-update-icon-cache -q /usr/share/icons/hicolor/
systemctl daemon-reload
uninstall :
rm /usr/bin/G213Colors.py
rm /usr/bin/g213colors-gui
rm /etc/G213Colors.conf
rm /etc/systemd/system/g213colors.service
rm /usr/share/icons/hicolor/16x16/apps/g213colors.png
rm /usr/share/icons/hicolor/24x24/apps/g213colors.png
rm /usr/share/icons/hicolor/32x32/apps/g213colors.png
rm /usr/share/icons/hicolor/48x48/apps/g213colors.png
rm /usr/share/icons/hicolor/128x128/apps/g213colors.png
rm /usr/share/icons/hicolor/192x192/apps/g213colors.png
rm /usr/share/applications/g213colors.desktop
rm /usr/share/polkit-1/actions/be.jeroened.pkexec.g213colors.policy
gtk-update-icon-cache -q /usr/share/icons/hicolor/
systemctl daemon-reload