Completely automated rebranding, configured from source repo

This commit is contained in:
dr460nf1r3 2022-04-04 17:27:10 +02:00
parent 01e4955f6b
commit 21abcdd79e
No known key found for this signature in database
GPG Key ID: B5C20B53B5FB19ED

View File

@ -5,7 +5,7 @@
pkgname=firedragon
_pkgname=FireDragon
pkgver=98.0.2
pkgrel=3
pkgrel=4
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
arch=(x86_64 x86_64_v3)
backup=('usr/lib/firedragon/firedragon.cfg'
@ -51,16 +51,12 @@ prepare() {
fi
cd firefox-$pkgver
local _patches_dir="${srcdir}/common/patches"
local _patches_dir
_patches_dir="${srcdir}/common/patches"
# Prepare KDE patch
sed -i 's/kmozillahelper/kfiredragonhelper/g' ${_patches_dir}/librewolf/mozilla-kde_after_unity.patch
sed -i 's/kmozillahelper/kfiredragonhelper/g' ${_patches_dir}/kde/mozilla-kde.patch
# KDE patches (W. Rosenauer)
echo "---- Patching for KDE"
patch -Np1 -i ${_patches_dir}/kde/mozilla-nongnome-proxies.patch
#patch -Np1 -i ${_patches_dir}/kde/mozilla-kde.patch
# Prepare patches, then return to the source directory
cd ${_patches_dir} && sh ${srcdir}/common/rebrand.sh
cd $srcdir/firefox-$pkgver
# Ubuntu patches
echo "---- Misc patches"