firefox-bin 139.0-1
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
name='firefox-bin'
|
name='firefox-bin'
|
||||||
version='138.0.4'
|
version='139.0.0'
|
||||||
ver='138.0.4'
|
|
||||||
release='1'
|
release='1'
|
||||||
desc='Fast, Private & Safe Web Browser.'
|
desc='Fast, Private & Safe Web Browser.'
|
||||||
homepage='https://www.mozilla.org/firefox/'
|
homepage='https://www.mozilla.org/firefox/'
|
||||||
@ -40,6 +39,12 @@ opt_deps_debian=('ffmpeg: H264/AAC/MP3 decoding'
|
|||||||
'hunspell-ru: Spell checking, Russian'
|
'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")
|
sources=("https://download.mozilla.org/?product=firefox-${ver}&os=linux64&lang=ru")
|
||||||
checksums=('SKIP')
|
checksums=('SKIP')
|
||||||
|
|
||||||
@ -77,3 +82,10 @@ package() {
|
|||||||
mkdir "$pkgdir"/opt/$name/distribution
|
mkdir "$pkgdir"/opt/$name/distribution
|
||||||
install -m644 $scriptdir/policies.json "$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/
|
||||||
|
}
|
Reference in New Issue
Block a user