-
Notifications
You must be signed in to change notification settings - Fork 1
/
show_state.yml
37 lines (35 loc) · 1.07 KB
/
show_state.yml
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
33
34
35
36
37
app: dslli-indicator
binpatch: true
ingredients:
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
packages:
- python3-minimal
- python3-gi
- python3-click
- python3-gi-cairo
- python3-cairo
- gir1.2-gtk-3.0
- gir1.2-appindicator3-0.1
script:
- wget -c https://github.com/orschiro/dslli/archive/master.zip
- unzip master.zip
script:
- cat > dslli-indicator.desktop <<EOF
- [Desktop Entry]
- Type=Application
- Name=dslli-indicator
- Icon=dslli-indicator
- Exec=dslli-indicator
- Categories=Utility;
- EOF
- cp ../dslli-master/* usr/bin/
- cp usr/bin/green.png usr/share/icons/hicolor/24x24/dslli-indicator.png
- cp usr/bin/green.png usr/share/icons/hicolor/24x24/green.png
- cp usr/bin/nocolor.png usr/share/icons/hicolor/24x24/nocolor.png
- cp usr/share/icons/hicolor/24x24/dslli-indicator.png .
- cp usr/share/icons/hicolor/24x24/green.png .
- cp usr/share/icons/hicolor/24x24/nocolor.png .
- ( cd usr/bin/ ; ln -s show_state.py dslli-indicator )
- chmod a+x usr/bin/show_state.py