Browse Source

move ungoogled chromium changes

Noah Vogt 1 year ago
parent
commit
7655cec319
1 changed files with 11 additions and 11 deletions
  1. 11 11
      PKGBUILD

+ 11 - 11
PKGBUILD

@@ -182,17 +182,6 @@ prepare() {
   # called 'shoulder surfing').
   # called 'shoulder surfing').
   patch -p1 -i ../no-omnibox-suggestion-autocomplete.patch
   patch -p1 -i ../no-omnibox-suggestion-autocomplete.patch
 
 
-  # Ungoogled Chromium changes
-  _ungoogled_repo="$srcdir/${pkgname%xdg*}$_uc_ver"
-
-  _utils="${_ungoogled_repo}/utils"
-  msg2 'Pruning binaries'
-  python "$_utils/prune_binaries.py" ./ "$_ungoogled_repo/pruning.list"
-  msg2 'Applying patches'
-  python "$_utils/patches.py" apply ./ "$_ungoogled_repo/patches"
-  msg2 'Applying domain substitution'
-  python "$_utils/domain_substitution.py" apply -r "$_ungoogled_repo/domain_regex.list" \
-    -f "$_ungoogled_repo/domain_substitution.list" -c domainsubcache.tar.gz ./
 
 
   # Link to system tools required by the build
   # Link to system tools required by the build
   mkdir -p third_party/node/linux/node-linux-x64/bin
   mkdir -p third_party/node/linux/node-linux-x64/bin
@@ -206,6 +195,17 @@ prepare() {
   # To link to rust libraries we need to compile with prebuilt clang
   # To link to rust libraries we need to compile with prebuilt clang
   ./tools/clang/scripts/update.py
   ./tools/clang/scripts/update.py
 
 
+  # Ungoogled Chromium changes
+  _ungoogled_repo="$srcdir/${pkgname%xdg*}$_uc_ver"
+
+  _utils="${_ungoogled_repo}/utils"
+  msg2 'Pruning binaries'
+  python "$_utils/prune_binaries.py" ./ "$_ungoogled_repo/pruning.list"
+  msg2 'Applying patches'
+  python "$_utils/patches.py" apply ./ "$_ungoogled_repo/patches"
+  msg2 'Applying domain substitution'
+  python "$_utils/domain_substitution.py" apply -r "$_ungoogled_repo/domain_regex.list" \
+    -f "$_ungoogled_repo/domain_substitution.list" -c domainsubcache.tar.gz ./
 
 
   # Remove bundled libraries for which we will use the system copies; this
   # Remove bundled libraries for which we will use the system copies; this
   # *should* do what the remove_bundled_libraries.py script does, with the
   # *should* do what the remove_bundled_libraries.py script does, with the