firefox-bin 139.0-1

This commit is contained in:
2025-05-27 16:57:45 +03:00
parent 0b2e5ad64c
commit c9f30792fe

View File

@ -1,6 +1,5 @@
name='firefox-bin'
version='138.0.4'
ver='138.0.4'
version='139.0.0'
release='1'
desc='Fast, Private & Safe Web Browser.'
homepage='https://www.mozilla.org/firefox/'
@ -40,6 +39,12 @@ opt_deps_debian=('ffmpeg: H264/AAC/MP3 decoding'
'hunspell-ru: Spell checking, Russian'
)
if [[ $version == *.0 ]]; then
ver="${version%.*}"
else
ver="$version"
fi
sources=("https://download.mozilla.org/?product=firefox-${ver}&os=linux64&lang=ru")
checksums=('SKIP')
@ -77,3 +82,10 @@ package() {
mkdir "$pkgdir"/opt/$name/distribution
install -m644 $scriptdir/policies.json "$pkgdir"/opt/$name/distribution/
}
files() {
echo ./usr/bin/firefox
echo ./usr/share/applications/firefox.desktop
printf '"%s" ' ./usr/share/icons/hicolor/*/apps/firefox.png
printf '"%s" ' ./opt/firefox-bin/
}