From 16fb36fb51401a4728dd4a945c5b1c18891bae51 Mon Sep 17 00:00:00 2001 From: dr460nf1r3 Date: Wed, 3 Mar 2021 15:49:57 +0100 Subject: [PATCH] Add firejail & psd profiles --- .SRCINFO | 2 +- PKGBUILD | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 416879a..7bdd74d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = firedragon pkgdesc = Librewolf fork build using Nightly sources with custom branding, Proton UI rework & Fission enabled. - pkgver = 88.0a1.r636493+ + pkgver = 88.0a1.r636925+ pkgrel = 1 url = https://gitlab.com/dr460nf1r3/settings/ arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index d27e511..94839df 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgname=firedragon _pkgname=FireDragon -pkgver=88.0a1.r636493+ +pkgver=88.0a1.r636925+ pkgrel=1 pkgdesc="Librewolf fork build using Nightly sources with custom branding, Proton UI rework & Fission enabled." arch=(x86_64 aarch64) @@ -102,7 +102,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/firedragon +ac_add_options --with-branding=browser/branding/${pkgname} ac_add_options --with-distribution-id=org.garudalinux ac_add_options --with-unsigned-addon-scopes=app,system ac_add_options --allow-addon-sideload @@ -293,6 +293,10 @@ package() { cd mozilla-unified DESTDIR="$pkgdir" ./mach install + install -Dvm644 "$srcdir/settings/$pkgname.profile" "$pkgdir/usr/lib/$pkgname/distribution/$pkgname.profile" + install -Dvm644 "$srcdir/settings/$pkgname-common.profile" "$pkgdir/usr/lib/$pkgname/distribution/$pkgname-common.profile" + install -Dvm644 "$srcdir/settings/$pkgname.psd" "$pkgdir/usr/lib/$pkgname/distribution/$pkgname.psd" + _vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js" install -Dm644 /dev/stdin "$_vendorjs" <