15 lines
344 B
Plaintext
15 lines
344 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
git submodule update --init --recursive
|
||
|
|
||
|
cp doc/mozconfig.example ./.mozconfig
|
||
|
|
||
|
sed -i 's/enable-jack/disable-jack/g' .mozconfig
|
||
|
sed -i 's/$HOME/\/tmp/g' .mozconfig
|
||
|
|
||
|
./mach build
|
||
|
./mach package
|
||
|
|
||
|
tar xf /tmp/build/wbobjects/dist/webbrowser-29.2.0.linux-x86_64-gtk2.tar.xz "$1/wdir"
|
||
|
ln -s "/usr/bin/wdir/webbrowser" "$1/webbrowser"
|