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-10-27 16:02:03 +02:00
|
|
|
# Depends on: gtk3 dbus-glib
|
2018-10-23 17:51:30 +02:00
|
|
|
|
|
|
|
name=firefox-bin
|
|
|
|
version=63.0
|
|
|
|
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-10-27 16:02:03 +02:00
|
|
|
mkdir -p $PKG/etc/revdep.d
|
|
|
|
echo "/usr/lib/firefox" > $PKG/etc/revdep.d/firefox
|
|
|
|
|
2018-10-23 17:51:30 +02:00
|
|
|
rm -r $PKG/usr/lib/firefox/browser/features
|
|
|
|
|
|
|
|
}
|