2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 08:40:10 -07:00
repo/extra/firefox-bin/build

50 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-01-13 14:55:09 -07:00
#!/bin/sh -e
# As KISS doesn't support repository packages as
# binaries per se, this build file simply spawns
# a second instance of 'kiss' to install the tarball.
#
# This could have just unpacked the tarball and
# repacked it (as is done with shellcheck-bin and
# pandoc-bin) but due to its size, this workaround
# is needed.
printf 'Installing firefox-bin\n'
# The tarball is hosted on GitHub which doesn't allow
# for the file naming scheme the package manager uses
# for its built tarballs (pkg#ver-rel.tar.gz).
2020-03-11 02:17:12 -06:00
mv -f firefox*\?no-extract "firefox#68.6.0esr-3.tar.gz"
2020-01-13 14:55:09 -07:00
# Install the package as you would any other you have
# built yourself. In reality, I could have just given
# a link to this tarball and asked you to run this
# command yourself.
#
# I'm nice though and want this to fit into the system
# like any other package.
2020-03-11 02:17:12 -06:00
KISS_FORCE=1 kiss i "$PWD/firefox#68.6.0esr-3.tar.gz"
2020-01-13 14:55:09 -07:00
cat <<EOF
2020-03-04 14:44:15 -07:00
NOTE: Install the 'hicolor-icon-theme' package if
no other icon themes are installed.
NOTE: Install the 'firefox-privacy' package to
enable extra privacy restrictions.
NOTE: This includes more telemetry removals,
hardened settings, no phoning-home etc.
-> kiss b firefox-privacy
-> kiss i firefox-privacy
2020-01-13 14:55:09 -07:00
NOTE: The 'Terminated' message below is fine and is a
side-effect of how this package works and is
temporary.
For more information, see the 'build' file.
EOF
kill 0