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