From 4825cb7c4a8e024de9f6bb306795d3c8bdab4b15 Mon Sep 17 00:00:00 2001 From: dr460nf1r3 Date: Fri, 5 Mar 2021 14:18:52 +0100 Subject: [PATCH] Add install messenge --- PKGBUILD | 5 +++-- firedragon.install | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 firedragon.install diff --git a/PKGBUILD b/PKGBUILD index 94839df..fb3b731 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -34,6 +34,7 @@ options=(!emptydirs !makeflags !strip) _linux_commit=e123b80f7df1ad9043435f345c426717ca323579 _settings_commit=c5c75a39dd91a8772255a78493853be6553262b2 _repo=https://hg.mozilla.org/mozilla-unified +install=firedragon.install source_x86_64=("hg+$_repo#revision=autoland" $pkgname.desktop "git+https://gitlab.com/dr460nf1r3/common.git" @@ -102,7 +103,7 @@ export RANLIB=llvm-ranlib ac_add_options --enable-update-channel=nightly ac_add_options --with-app-name=${pkgname} ac_add_options --with-app-basename='${_pkgname}' -ac_add_options --with-branding=browser/branding/${pkgname} +ac_add_options --with-branding=browser/branding/firedragon ac_add_options --with-distribution-id=org.garudalinux ac_add_options --with-unsigned-addon-scopes=app,system ac_add_options --allow-addon-sideload @@ -166,7 +167,7 @@ END fi # Remove some pre-installed addons that might be questionable - patch -p1 -i ../remove_addons.patch + # patch -p1 -i ../remove_addons.patch # To enable global menubar # Set these to true: diff --git a/firedragon.install b/firedragon.install new file mode 100644 index 0000000..3d56e58 --- /dev/null +++ b/firedragon.install @@ -0,0 +1,22 @@ +msg() { + ALL_OFF="\e[1;0m" + BOLD="\e[1;1m" + RED="${BOLD}\e[1;31m" + local mesg=$1; shift + printf "${RED}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&2 +} + +post_install() { + post_upgrade +} + +post_upgrade() { + msg "Included are profiles for Firejail and profile-sync-daemon," + echo "" + msg "which you can symlink from /usr/lib/plasmafox/distribution" + echo "" + msg "to /etc/firejail and /usr/share/psd/browsers respectively." + echo "" + msg "Enjoy the Firedragon 🔥🐉" + echo "" +}