forked from AUR/firedragon
Completely automated rebranding, configured from source repo
This commit is contained in:
parent
01e4955f6b
commit
21abcdd79e
18
PKGBUILD
18
PKGBUILD
@ -5,7 +5,7 @@
|
|||||||
pkgname=firedragon
|
pkgname=firedragon
|
||||||
_pkgname=FireDragon
|
_pkgname=FireDragon
|
||||||
pkgver=98.0.2
|
pkgver=98.0.2
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
|
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
|
||||||
arch=(x86_64 x86_64_v3)
|
arch=(x86_64 x86_64_v3)
|
||||||
backup=('usr/lib/firedragon/firedragon.cfg'
|
backup=('usr/lib/firedragon/firedragon.cfg'
|
||||||
@ -46,21 +46,17 @@ sha256sums=('c144b6016aaa8ceab8154b9f0b2bbeee6cbc22ab7f811fcece28d36e49565890'
|
|||||||
'SKIP')
|
'SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
if [[ ! -d mozbuild ]];then
|
if [[ ! -d mozbuild ]]; then
|
||||||
mkdir mozbuild
|
mkdir mozbuild
|
||||||
fi
|
fi
|
||||||
cd firefox-$pkgver
|
cd firefox-$pkgver
|
||||||
|
|
||||||
local _patches_dir="${srcdir}/common/patches"
|
local _patches_dir
|
||||||
|
_patches_dir="${srcdir}/common/patches"
|
||||||
|
|
||||||
# Prepare KDE patch
|
# Prepare patches, then return to the source directory
|
||||||
sed -i 's/kmozillahelper/kfiredragonhelper/g' ${_patches_dir}/librewolf/mozilla-kde_after_unity.patch
|
cd ${_patches_dir} && sh ${srcdir}/common/rebrand.sh
|
||||||
sed -i 's/kmozillahelper/kfiredragonhelper/g' ${_patches_dir}/kde/mozilla-kde.patch
|
cd $srcdir/firefox-$pkgver
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Ubuntu patches
|
# Ubuntu patches
|
||||||
echo "---- Misc patches"
|
echo "---- Misc patches"
|
||||||
|
Loading…
Reference in New Issue
Block a user