forked from AUR/firedragon
		
	Add install messenge
This commit is contained in:
		
							
								
								
									
										5
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								PKGBUILD
									
									
									
									
									
								
							@@ -34,6 +34,7 @@ options=(!emptydirs !makeflags !strip)
 | 
				
			|||||||
_linux_commit=e123b80f7df1ad9043435f345c426717ca323579
 | 
					_linux_commit=e123b80f7df1ad9043435f345c426717ca323579
 | 
				
			||||||
_settings_commit=c5c75a39dd91a8772255a78493853be6553262b2
 | 
					_settings_commit=c5c75a39dd91a8772255a78493853be6553262b2
 | 
				
			||||||
_repo=https://hg.mozilla.org/mozilla-unified
 | 
					_repo=https://hg.mozilla.org/mozilla-unified
 | 
				
			||||||
 | 
					install=firedragon.install
 | 
				
			||||||
source_x86_64=("hg+$_repo#revision=autoland"
 | 
					source_x86_64=("hg+$_repo#revision=autoland"
 | 
				
			||||||
               $pkgname.desktop
 | 
					               $pkgname.desktop
 | 
				
			||||||
               "git+https://gitlab.com/dr460nf1r3/common.git"
 | 
					               "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 --enable-update-channel=nightly
 | 
				
			||||||
ac_add_options --with-app-name=${pkgname}
 | 
					ac_add_options --with-app-name=${pkgname}
 | 
				
			||||||
ac_add_options --with-app-basename='${_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-distribution-id=org.garudalinux
 | 
				
			||||||
ac_add_options --with-unsigned-addon-scopes=app,system
 | 
					ac_add_options --with-unsigned-addon-scopes=app,system
 | 
				
			||||||
ac_add_options --allow-addon-sideload
 | 
					ac_add_options --allow-addon-sideload
 | 
				
			||||||
@@ -166,7 +167,7 @@ END
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Remove some pre-installed addons that might be questionable
 | 
					  # 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
 | 
					  # To enable global menubar
 | 
				
			||||||
  # Set these to true: 
 | 
					  # Set these to true: 
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										22
									
								
								firedragon.install
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								firedragon.install
									
									
									
									
									
										Normal file
									
								
							@@ -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 ""
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user