firefox-bin 139.0.0-3
This commit is contained in:
@ -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
|
||||
|
4
firefox-bin/postinstall.sh
Normal file
4
firefox-bin/postinstall.sh
Normal 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
|
4
firefox-bin/postremove.sh
Normal file
4
firefox-bin/postremove.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rm -rf /opt/firefox/dictionaries
|
||||
rm -rf /opt/firefox/hyphenation
|
Reference in New Issue
Block a user