|
|
|
name=palemoon
|
|
|
|
version=26.1.1
|
|
|
|
update_url="https://linux.palemoon.org/download/mainline/"
|
|
|
|
|
|
|
|
download "http://linux.palemoon.org/files/$version/$name-$version.en-US.linux-x86_64.tar.bz2" \
|
|
|
|
"f7bf06061cd77dda706729bcb9cb5826"
|
|
|
|
extrafile "palemoon.desktop"
|
|
|
|
header_end
|
|
|
|
|
|
|
|
mkdir -p "$dir_install/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/opt"
|
|
|
|
ln -s "$dir_sysroot/opt/$name/$name" "$dir_install/$dir_prefix/bin/$name"
|
|
|
|
ln -s "$dir_sysroot/opt/$name/browser/chrome/icons/default/default16.png" "$dir_install/$dir_prefix/share/icons/hicolor/16x16/apps/$name.png"
|
|
|
|
ln -s "$dir_sysroot/opt/$name/browser/chrome/icons/default/default32.png" "$dir_install/$dir_prefix/share/icons/hicolor/32x32/apps/$name.png"
|
|
|
|
ln -s "$dir_sysroot/opt/$name/browser/chrome/icons/default/default48.png" "$dir_install/$dir_prefix/share/icons/hicolor/48x48/apps/$name.png"
|
|
|
|
ln -s "$dir_sysroot/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:
|