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