firefox-bin 139.0.0-3

This commit is contained in:
2025-05-27 22:25:29 +03:00
parent 398f710acf
commit 789fabf41f
3 changed files with 15 additions and 5 deletions

View File

@ -1,6 +1,6 @@
name='firefox-bin'
version='139.0.0'
release='2'
release='3'
desc='Fast, Private & Safe Web Browser.'
desc_ru='Быстрый, конфиденциальный и безопасный веб-браузер.'
homepage='https://www.mozilla.org/firefox/'
@ -54,6 +54,11 @@ checksums_386=('SKIP')
options=(!strip)
scripts=(
['postinstall']='postinstall.sh'
['postremove']='postremove.sh'
)
package() {
cd $srcdir
# Create directories
@ -77,9 +82,6 @@ package() {
"$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png
done
# Configure dictionaries and certificates
ln -Ts /usr/share/hunspell "$pkgdir"/opt/firefox/dictionaries
ln -Ts /usr/share/hyphen "$pkgdir"/opt/firefox/hyphenation
ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/firefox/libnssckbi.so
# Disable update checks
@ -88,7 +90,7 @@ package() {
}
files() {
printf '"%s" ' ./opt/**/*
printf '"%s" ' ./opt/firefox/**/*
printf '"%s" ' ./usr/share/icons/hicolor/*/apps/*
echo ./usr/bin/firefox
echo ./usr/share/applications/firefox.desktop

View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
ln -sT /usr/share/hunspell "$pkgdir"/opt/firefox/dictionaries
ln -sT /usr/share/hyphen "$pkgdir"/opt/firefox/hyphenation

View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
rm -rf /opt/firefox/dictionaries
rm -rf /opt/firefox/hyphenation