23 lines
609 B
Plaintext
23 lines
609 B
Plaintext
|
# Description: Firefox binary
|
||
|
# URL: http://www.mozilla.com
|
||
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
|
||
|
# Depends on: gtk3
|
||
|
|
||
|
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/ \;
|
||
|
|
||
|
install -d $PKG/etc/ld.so.conf.d
|
||
|
rm -r $PKG/usr/lib/firefox/browser/features
|
||
|
|
||
|
}
|