2018-10-23 17:51:30 +02:00
|
|
|
# Description: Firefox binary
|
|
|
|
# URL: http://www.mozilla.com
|
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
|
2018-11-01 18:47:26 +01:00
|
|
|
# Depends on: gtk3
|
2018-10-23 17:51:30 +02:00
|
|
|
|
|
|
|
name=firefox-bin
|
2018-11-01 18:51:48 +01:00
|
|
|
version=63.0.1
|
2018-10-23 17:51:30 +02:00
|
|
|
release=1
|
|
|
|
source=(http://ftp.mozilla.org/pub/firefox/releases/$version/linux-x86_64/en-US/firefox-$version.tar.bz2)
|
|
|
|
|
|
|
|
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
|
|
|
|
find $PKG/usr/lib/firefox -name '*.so' -exec cp '{}' lib/ \;
|
|
|
|
|
2018-11-01 18:47:26 +01:00
|
|
|
install -d $PKG/etc/ld.so.conf.d
|
2018-10-23 17:51:30 +02:00
|
|
|
rm -r $PKG/usr/lib/firefox/browser/features
|
|
|
|
|
|
|
|
}
|