Date: Tuesday, March 21, 2023 @ 20:37:08
  Author: polyzen
Revision: 1425031

upgpkg: ublock-origin 1.48.0-1

Modified:
  ublock-origin/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-21 20:36:38 UTC (rev 1425030)
+++ PKGBUILD    2023-03-21 20:37:08 UTC (rev 1425031)
@@ -2,7 +2,7 @@
 
 pkgname=('ublock-origin' 'firefox-ublock-origin')
 pkgbase=ublock-origin
-pkgver=1.47.4
+pkgver=1.48.0
 pkgrel=1
 pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
 arch=('any')
@@ -9,17 +9,16 @@
 url=https://github.com/gorhill/uBlock
 license=('GPL3')
 makedepends=('git' 'python' 'strip-nondeterminism' 'zip')
-source=("git+$url.git#commit=$pkgver?signed"
-        "git+https://github.com/uBlockOrigin/uAssets.git";)
-b2sums=('SKIP'
-        'SKIP')
+source=("git+$url.git#commit=$pkgver?signed")
+b2sums=('SKIP')
 validpgpkeys=('603B28AA5D6CD687A554347425E1490B761470C2') # Raymond Hill 
<[email protected]>
 
 prepare() {
   cd uBlock
-  git submodule init
-  git config submodule.submodules/uAssets.url ../uAssets
-  git -c protocol.file.allow=always submodule update
+  DES=dist/build/uAssets
+  sed -i "s/ \$(assets)//" Makefile
+  git clone --depth 1 --branch master https://github.com/uBlockOrigin/uAssets 
$DES/main
+  git clone --depth 1 --branch gh-pages 
https://github.com/uBlockOrigin/uAssets $DES/prod
 }
 
 build() {

Reply via email to