34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# Description: Firefox binary
|
|
# URL: http://www.mozilla.com
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: gtk3 dbus-glib xorg-libxcomposite xorg-libxcursor
|
|
|
|
name=firefox-bin
|
|
version=124.0.1
|
|
release=1
|
|
source=(http://ftp.mozilla.org/pub/firefox/releases/$version/linux-x86_64/en-US/firefox-$version.tar.bz2 \
|
|
policies.json firefox.desktop)
|
|
|
|
build() {
|
|
cd firefox
|
|
install -d $PKG/usr/{lib,bin}
|
|
mv $SRC/firefox $PKG/usr/lib/firefox
|
|
ln -s /usr/lib/firefox/firefox $PKG/usr/bin/firefox
|
|
mkdir -p $PKG/usr/lib/firefox/lib
|
|
|
|
mkdir -p $PKG/etc/revdep.d
|
|
echo "/usr/lib/firefox" > $PKG/etc/revdep.d/firefox-bin
|
|
|
|
#We don't want these 'features'
|
|
rm -r $PKG/usr/lib/firefox/browser/features
|
|
# Disable autoupdate
|
|
mkdir $PKG/usr/lib/firefox/distribution
|
|
|
|
install -m644 $SRC/policies.json $PKG/usr/lib/firefox/distribution/
|
|
|
|
install -m644 -D $SRC/firefox.desktop $PKG/usr/share/applications/firefox.desktop
|
|
install -m755 -d $PKG/usr/share/pixmaps
|
|
ln -s /usr/lib/firefox/browser/chrome/icons/default/default32.png \
|
|
$PKG/usr/share/pixmaps/firefox.png
|
|
}
|