firefox-bin 139.0.0-2
This commit is contained in:
@ -1,10 +1,12 @@
|
|||||||
name='firefox-bin'
|
name='firefox-bin'
|
||||||
version='139.0.0'
|
version='139.0.0'
|
||||||
release='1'
|
release='2'
|
||||||
desc='Fast, Private & Safe Web Browser.'
|
desc='Fast, Private & Safe Web Browser.'
|
||||||
|
desc_ru='Быстрый, конфиденциальный и безопасный веб-браузер.'
|
||||||
homepage='https://www.mozilla.org/firefox/'
|
homepage='https://www.mozilla.org/firefox/'
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||||
architectures=('amd64')
|
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
|
architectures=('amd64' '386')
|
||||||
license=('MPL' 'GPL' 'LGPL')
|
license=('MPL' 'GPL' 'LGPL')
|
||||||
provides=('firefox')
|
provides=('firefox')
|
||||||
conflicts=('firefox' 'firefox-git')
|
conflicts=('firefox' 'firefox-git')
|
||||||
@ -45,8 +47,10 @@ else
|
|||||||
ver="$version"
|
ver="$version"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sources=("https://download.mozilla.org/?product=firefox-${ver}&os=linux64&lang=ru")
|
sources_amd64=("https://download.mozilla.org/?product=firefox-${ver}&os=linux64&lang=ru")
|
||||||
checksums=('SKIP')
|
checksums_amd64=('SKIP')
|
||||||
|
sources_386=("https://download.mozilla.org/?product=firefox-${ver}&os=linux32&lang=ru")
|
||||||
|
checksums_386=('SKIP')
|
||||||
|
|
||||||
options=(!strip)
|
options=(!strip)
|
||||||
|
|
||||||
@ -58,7 +62,7 @@ package() {
|
|||||||
mkdir -p "$pkgdir"/opt
|
mkdir -p "$pkgdir"/opt
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
cp -r firefox/ "$pkgdir"/opt/$name
|
cp -r firefox/ "$pkgdir"/opt/firefox
|
||||||
|
|
||||||
# Launchers
|
# Launchers
|
||||||
install -m755 $scriptdir/firefox.sh "$pkgdir"/usr/bin/firefox
|
install -m755 $scriptdir/firefox.sh "$pkgdir"/usr/bin/firefox
|
||||||
@ -69,23 +73,23 @@ package() {
|
|||||||
# Icons
|
# Icons
|
||||||
for i in 16x16 32x32 48x48 64x64 128x128; do
|
for i in 16x16 32x32 48x48 64x64 128x128; do
|
||||||
install -d "$pkgdir"/usr/share/icons/hicolor/$i/apps/
|
install -d "$pkgdir"/usr/share/icons/hicolor/$i/apps/
|
||||||
ln -s /opt/$name/browser/chrome/icons/default/default${i/x*}.png \
|
ln -s /opt/firefox/browser/chrome/icons/default/default${i/x*}.png \
|
||||||
"$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png
|
"$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png
|
||||||
done
|
done
|
||||||
|
|
||||||
# Configure dictionaries and certificates
|
# Configure dictionaries and certificates
|
||||||
ln -Ts /usr/share/hunspell "$pkgdir"/opt/$name/dictionaries
|
ln -Ts /usr/share/hunspell "$pkgdir"/opt/firefox/dictionaries
|
||||||
ln -Ts /usr/share/hyphen "$pkgdir"/opt/$name/hyphenation
|
ln -Ts /usr/share/hyphen "$pkgdir"/opt/firefox/hyphenation
|
||||||
ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/$name/libnssckbi.so
|
ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/firefox/libnssckbi.so
|
||||||
|
|
||||||
# Disable update checks
|
# Disable update checks
|
||||||
mkdir "$pkgdir"/opt/$name/distribution
|
mkdir "$pkgdir"/opt/firefox/distribution
|
||||||
install -m644 $scriptdir/policies.json "$pkgdir"/opt/$name/distribution/
|
install -m644 $scriptdir/policies.json "$pkgdir"/opt/firefox/distribution/
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
printf '"%s" ' ./opt/**/*
|
||||||
|
printf '"%s" ' ./usr/share/icons/hicolor/*/apps/firefox.png
|
||||||
echo ./usr/bin/firefox
|
echo ./usr/bin/firefox
|
||||||
echo ./usr/share/applications/firefox.desktop
|
echo ./usr/share/applications/firefox.desktop
|
||||||
printf '"%s" ' ./usr/share/icons/hicolor/*/apps/*
|
|
||||||
printf '"%s" ' ./opt/firefox-bin/**/*
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user