Initial Commit

Test run with pkg2appimage
master
Alessandro Mauri 10 months ago
commit f1c4c83977
  1. 50
      Floorp.yml

@ -0,0 +1,50 @@
app: Floorp
ingredients:
script:
- VER="11.8.1"
- LNK="https://github.com/Floorp-Projects/Floorp/releases/download/v$VER/floorp-$VER.linux-x86_64.tar.bz2"
- wget $LNK
- tar xf floorp*.tar.bz2
script:
- # Copy binaries and icons
- cp -r ../floorp/* usr/bin/
- find . -name mozicon128.png -exec cp {} floorp.png \;
- find . -name default128.png -exec cp {} floorp.png \;
- find . -name mozicon128.png -exec cp {} usr/share/icons/hicolor/128x128/apps/floorp.png \;
- find . -name mozicon22.png -exec cp {} usr/share/icons/hicolor/22x22/apps/floorp.png \;
- find . -name mozicon24.png -exec cp {} usr/share/icons/hicolor/24x24/apps/floorp.png \;
- find . -name mozicon256.png -exec cp {} usr/share/icons/hicolor/256x256/apps/floorp.png \;
- find . -name mozicon32.png -exec cp {} sr/share/icons/hicolor/32x32/apps/floorp.png \;
- find . -name mozicon48.png -exec cp {} usr/share/icons/hicolor/48x48/apps/floorp.png \;
- find . -name mozicon512.png -exec cp {} usr/share/icons/hicolor/512x512/apps/floorp.png \;
- find . -name mozicon64.png -exec cp {} usr/share/icons/hicolor/64x64/apps/floorp.png \;
- find . -name default128.png -exec cp {} usr/share/icons/hicolor/128x128/apps/floorp.png \;
- find . -name default22.png -exec cp {} usr/share/icons/hicolor/22x22/apps/floorp.png \;
- find . -name default24.png -exec cp {} usr/share/icons/hicolor/24x24/apps/floorp.png \;
- find . -name default256.png -exec cp {} usr/share/icons/hicolor/256x256/apps/floorp.png \;
- find . -name default32.png -exec cp {} usr/share/icons/hicolor/32x32/apps/floorp.png \;
- find . -name default48.png -exec cp {} usr/share/icons/hicolor/48x48/apps/floorp.png \;
- find . -name default5128.png -exec cp {} usr/share/icons/hicolor/512x512/apps/floorp.png \;
- find . -name default64.png -exec cp {} usr/share/icons/hicolor/64x64/apps/floorp.png \;
- # Generate desktop file
- cat > floorp.desktop <<EOF
- [Desktop Entry]
- Type=Application
- Name=Floorp
- Icon=floorp
- Exec=floorp %u
- Categories=GNOME;GTK;Network;WebBrowser;
- MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
- StartupNotify=true
- EOF
- # Generate AppRun
- cat > AppRun <<\EOF
- #!/bin/bash
- HERE="$(dirname "$(readlink -f "${0}")")"
- export SNAP_NAME="floorp" # Prevent per installation profiles in ff = 67
- export MOZ_LEGACY_PROFILES=1 # Prevent per installation profiles in ff > 68
- "$HERE/usr/bin/floorp" "$@"
- EOF
- chmod a+x AppRun
Loading…
Cancel
Save