From c9f30792feb0a85df0a169e8f7f69d7678bdb33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Tue, 27 May 2025 16:57:45 +0300 Subject: [PATCH] firefox-bin 139.0-1 --- firefox-bin/alr.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/firefox-bin/alr.sh b/firefox-bin/alr.sh index 1980d34..4c21258 100644 --- a/firefox-bin/alr.sh +++ b/firefox-bin/alr.sh @@ -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/ +} \ No newline at end of file