Browse Source

fix ungoogled chromium repo source

Noah Vogt 1 year ago
parent
commit
d09ecd7291
2 changed files with 7 additions and 7 deletions
  1. 1 1
      .SRCINFO
  2. 6 6
      PKGBUILD

+ 1 - 1
.SRCINFO

@@ -69,7 +69,7 @@ pkgbase = ungoogled-chromium-xdg
 	source = xdg-basedir.patch
 	source = xdg-basedir.patch
 	source = no-omnibox-suggestion-autocomplete.patch
 	source = no-omnibox-suggestion-autocomplete.patch
 	source = index.html
 	source = index.html
-	source = ungoogled-chromium-122.0.6261.39-1.tar.gz::https://github.com/ungoogled-software/ungoogled-chromium/archive/refs/tags/122.0.6261.39-1.tar.gz
+	source = ungoogled-chromium-122.0.6261.39-1.zip::https://github.com/noahvogt/ungoogled-chromium/archive/refs/heads/update.zip
 	source = 0001-vaapi-flag-ozone-wayland.patch
 	source = 0001-vaapi-flag-ozone-wayland.patch
 	source = 0001-adjust-buffer-format-order.patch
 	source = 0001-adjust-buffer-format-order.patch
 	source = 0001-enable-linux-unstable-deb-target.patch
 	source = 0001-enable-linux-unstable-deb-target.patch

+ 6 - 6
PKGBUILD

@@ -78,8 +78,8 @@ _uc_ver="$pkgver-$_uc_rel"
 optdepends=("${optdepends[@]}"
 optdepends=("${optdepends[@]}"
             'chromium-extension-web-store: Web Store Functionality')
             'chromium-extension-web-store: Web Store Functionality')
 source=(${source[@]}
 source=(${source[@]}
-        # ${pkgname%-*}-$_uc_ver.zip::https://github.com/noahvogt/${pkgname%-*}/archive/refs/heads/update.zip
-        ${pkgname%-*}-$_uc_ver.tar.gz::https://github.com/$_uc_usr/ungoogled-chromium/archive/refs/tags/$_uc_ver.tar.gz
+        ${pkgname%-*}-$_uc_ver.zip::https://github.com/noahvogt/${pkgname%-*}/archive/refs/heads/update.zip
+        # ${pkgname%-*}-$_uc_ver.tar.gz::https://github.com/$_uc_usr/ungoogled-chromium/archive/refs/tags/$_uc_ver.tar.gz
         0001-vaapi-flag-ozone-wayland.patch
         0001-vaapi-flag-ozone-wayland.patch
         0001-adjust-buffer-format-order.patch
         0001-adjust-buffer-format-order.patch
         0001-enable-linux-unstable-deb-target.patch
         0001-enable-linux-unstable-deb-target.patch
@@ -219,8 +219,8 @@ prepare() {
 
 
 
 
   # Ungoogled Chromium changes
   # Ungoogled Chromium changes
-  # _ungoogled_repo="$srcdir/ungoogled-chromium-update"
-  _ungoogled_repo="$srcdir/$pkgname-$_uc_ver"
+  _ungoogled_repo="$srcdir/ungoogled-chromium-update"
+  # _ungoogled_repo="$srcdir/$pkgname-$_uc_ver"
 
 
   _utils="${_ungoogled_repo}/utils"
   _utils="${_ungoogled_repo}/utils"
   msg2 'Pruning binaries'
   msg2 'Pruning binaries'
@@ -305,8 +305,8 @@ build() {
   fi
   fi
 
 
   # Append ungoogled chromium flags to _flags array
   # Append ungoogled chromium flags to _flags array
-  # _ungoogled_repo="$srcdir/ungoogled-chromium-update"
-  _ungoogled_repo="$srcdir/$pkgname-$_uc_ver"
+  _ungoogled_repo="$srcdir/ungoogled-chromium-update"
+  # _ungoogled_repo="$srcdir/$pkgname-$_uc_ver"
   readarray -t -O ${#_flags[@]} _flags < "${_ungoogled_repo}/flags.gn"
   readarray -t -O ${#_flags[@]} _flags < "${_ungoogled_repo}/flags.gn"
 
 
   # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
   # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)