name=palemoon version=25.7.3 update_url="https://linux.palemoon.org/download/mainline/" download "https://linux.palemoon.org/files/$version/$name-$version.en-US.linux-x86_64.tar.bz2" \ "a0b11f6c3a78592fa27904dce9f7942c" extrafile "palemoon.desktop" header_end mkdir -p "$dir_install/opt" "$dir_install/$prefix/bin" "$dir_install/$prefix/share/applications" \ "$dir_install/$prefix/share/icons/hicolor/16x16/apps" \ "$dir_install/$prefix/share/icons/hicolor/32x32/apps" \ "$dir_install/$prefix/share/icons/hicolor/48x48/apps" \ "$dir_install/$prefix/share/icons/hicolor/128x128/apps" \ extract "$name-$version.en-US.linux-x86_64.tar.bz2" "$dir_install/opt" ln -s "/opt/$name/$name" "$dir_install/$prefix/bin/$name" ln -s "/opt/$name/browser/chrome/icons/default/default16.png" "$dir_install/$prefix/share/icons/hicolor/16x16/apps/$name.png" ln -s "/opt/$name/browser/chrome/icons/default/default32.png" "$dir_install/$prefix/share/icons/hicolor/32x32/apps/$name.png" ln -s "/opt/$name/browser/chrome/icons/default/default48.png" "$dir_install/$prefix/share/icons/hicolor/48x48/apps/$name.png" ln -s "/opt/$name/browser/icons/mozicon128.png" "$dir_install/$prefix/share/icons/hicolor/128x128/apps/$name.png" cp "palemoon.desktop" "$dir_install/$prefix/share/applications/palemoon.desktop" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: