opt/firefox-bin/Pkgfile

25 lines
681 B
Plaintext
Raw Normal View History

2018-10-23 17:51:30 +02:00
# Description: Firefox binary
# URL: http://www.mozilla.com
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
# Depends on: gtk3
2018-10-23 17:51:30 +02:00
name=firefox-bin
2018-11-16 15:13:10 +01:00
version=63.0.3
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-02 21:46:31 +01:00
mkdir -p $PKG/etc/revdep.d
echo "/usr/lib/firefox/lib" > $PKG/etc/revdep.d/firefox-bin
2018-10-23 17:51:30 +02:00
rm -r $PKG/usr/lib/firefox/browser/features
}