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 < 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