|
|
@ -8,30 +8,32 @@ ingredients:
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- wget -c https://github.com/mickenordin/wireguide/blob/main/wireguide/logo.png -O ke.mic.wireguide.png
|
|
|
|
- wget -c https://github.com/mickenordin/wireguide/blob/main/wireguide/logo.png -O ke.mic.wireguide.png
|
|
|
|
- wget -c https://github.com/mickenordin/wireguide/blob/main/appimage/wireguide.appdata.xml -O wireguide.appdata.xml
|
|
|
|
- wget -c https://github.com/mickenordin/wireguide/blob/main/appimage/wireguide.appdata.xml -O wireguide.appdata.xml
|
|
|
|
|
|
|
|
- wget -c https://github.com/mickenordin/wireguide/blob/main/wireguide/wireguide -O wireguide
|
|
|
|
packages:
|
|
|
|
packages:
|
|
|
|
- python3-pip
|
|
|
|
|
|
|
|
- python3-gi
|
|
|
|
- python3-gi
|
|
|
|
- python3-wxgtk4.0
|
|
|
|
- python3-wxgtk4.0
|
|
|
|
- python3-sip
|
|
|
|
- python3-sip
|
|
|
|
- libnm0
|
|
|
|
- libnm0
|
|
|
|
- gir1.2-nm-1.0
|
|
|
|
- gir1.2-nm-1.0
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- ./usr/bin/pip3 install WireGUIde==0.0.7
|
|
|
|
|
|
|
|
- cp ../ke.mic.wireguide.png ./usr/share/icons/hicolor/256x256/
|
|
|
|
- cp ../ke.mic.wireguide.png ./usr/share/icons/hicolor/256x256/
|
|
|
|
- cp ../ke.mic.wireguide.png .
|
|
|
|
- cp ../ke.mic.wireguide.png .
|
|
|
|
- mkdir -p usr/share/metainfo/ ; cp ../wireguide.appdata.xml usr/share/metainfo/
|
|
|
|
- mkdir -p usr/share/metainfo/
|
|
|
|
- cat > usr/share/applications/ke.mic.wireguide.desktop <<\EOF
|
|
|
|
- cp ../wireguide.appdata.xml ./usr/share/metainfo/
|
|
|
|
|
|
|
|
- cp ../wireguide ./usr/bin/
|
|
|
|
|
|
|
|
- chmod +x ./usr/bin/wireguide
|
|
|
|
|
|
|
|
- cat > ./usr/share/applications/ke.mic.wireguide.desktop <<\EOF
|
|
|
|
- [Desktop Entry]
|
|
|
|
- [Desktop Entry]
|
|
|
|
- Type=Application
|
|
|
|
- Type=Application
|
|
|
|
- Name=WireGUIde
|
|
|
|
- Name=WireGUIde
|
|
|
|
- Comment=A GUI for WireGuard
|
|
|
|
- Comment=A GUI for WireGuard
|
|
|
|
- Icon=ke.mic.wireguide
|
|
|
|
- Icon=ke.mic.wireguide
|
|
|
|
- Exec=python3 /usr/local/bin/wireguide
|
|
|
|
- Exec=usr/bin/wireguide
|
|
|
|
- Terminal=false
|
|
|
|
- Terminal=false
|
|
|
|
- Categories=Application;
|
|
|
|
- Categories=Application;
|
|
|
|
- Keywords=Python;
|
|
|
|
- Keywords=Python;
|
|
|
|
- MimeType=text/x-python3;
|
|
|
|
- MimeType=text/x-python3;
|
|
|
|
- EOF
|
|
|
|
- EOF
|
|
|
|
- cp usr/share/applications/ke.mic.wireguide.desktop .
|
|
|
|
- cp usr/share/applications/ke.mic.wireguide.desktop .
|
|
|
|
- usr/bin/pip3 freeze | grep "wireguide" | cut -d "=" -f 3 >> ../VERSION
|
|
|
|
- grep self.version ../wireguide | grep = | awk '{print $3}' | sed 's/"//g' > ../VERSION
|
|
|
|
|
|
|
|
|
|
|
|