kiss-mfavila-small/ports/webbrowser/build
2021-05-09 03:10:08 -03:00

15 lines
344 B
Bash
Executable File

#!/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"