|
|
@ -7,18 +7,18 @@ download "https://linux.palemoon.org/files/$version/$name-$version.en-US.linux-x |
|
|
|
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" \ |
|
|
|
mkdir -p "$dir_install/$dir_sysroot/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 "/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" |
|
|
|
extract "$name-$version.en-US.linux-x86_64.tar.bz2" "$dir_install/$dir_sysroot/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: |
|
|
|