Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
ublock-origin
Commits:
6de115e1 by Daniel M. Capella at 2024-09-26T15:02:06-04:00
upgpkg: 1.60.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = ublock-origin
pkgdesc = Efficient blocker add-on for various browsers. Fast, potent,
and lean
- pkgver = 1.59.0
+ pkgver = 1.60.0
pkgrel = 1
url = https://github.com/gorhill/uBlock
arch = any
@@ -9,9 +9,9 @@ pkgbase = ublock-origin
makedepends = python
makedepends = strip-nondeterminism
makedepends = zip
- source = git+https://github.com/gorhill/uBlock.git#commit=1.59.0?signed
+ source = git+https://github.com/gorhill/uBlock.git#commit=1.60.0?signed
validpgpkeys = 603B28AA5D6CD687A554347425E1490B761470C2
- b2sums =
8d5f41d53e1287d41730fc8cefbf5833c71fb0b3a9e85ada423bae83fc154a35984f81e4377f90373613f4f6c3be978d0e2cc61d3eeeb1ee1ef4bc6060d12459
+ b2sums =
4eb869d724e11c5ee8dd8c414df41acf851df7a640f167e3b5bbad04bdf6b9a624a7c629bc9a27be256d77ba2e33dc8926a26eb60f95210ddfee1d233a39b187
pkgname = firefox-ublock-origin
groups = firefox-addons
=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@ pkgname=(
ublock-origin
)
pkgbase=ublock-origin
-pkgver=1.59.0
+pkgver=1.60.0
pkgrel=1
pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
arch=(any)
@@ -19,15 +19,16 @@ makedepends=(
zip
)
source=("git+$url.git#commit=$pkgver?signed")
-b2sums=('8d5f41d53e1287d41730fc8cefbf5833c71fb0b3a9e85ada423bae83fc154a35984f81e4377f90373613f4f6c3be978d0e2cc61d3eeeb1ee1ef4bc6060d12459')
+b2sums=('4eb869d724e11c5ee8dd8c414df41acf851df7a640f167e3b5bbad04bdf6b9a624a7c629bc9a27be256d77ba2e33dc8926a26eb60f95210ddfee1d233a39b187')
validpgpkeys=(603B28AA5D6CD687A554347425E1490B761470C2) # Raymond Hill
<[email protected]>
prepare() {
+ local dest=dist/build/uAssets
+
cd uBlock
- 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
+ git clone --depth 1 --branch master https://github.com/uBlockOrigin/uAssets
$dest/main
+ git clone --depth 1 --branch gh-pages
https://github.com/uBlockOrigin/uAssets $dest/prod
}
build() {
@@ -44,6 +45,7 @@ package_ublock-origin() {
pkgdesc+=' (unpacked webextension)'
provides=(chromium-ublock-origin)
replaces=(chromium-ublock-origin)
+
cd uBlock/dist/build/uBlock0.chromium
install -d "$pkgdir"/usr/lib/$pkgbase
cp -r -- * "$pkgdir"/usr/lib/$pkgbase
@@ -51,6 +53,7 @@ package_ublock-origin() {
package_firefox-ublock-origin() {
groups=(firefox-addons)
+
cd uBlock/dist/build
install -Dm644 uBlock0.firefox.xpi \
"$pkgdir"/usr/lib/firefox/browser/extensions/[email protected]
@@ -58,6 +61,7 @@ package_firefox-ublock-origin() {
package_thunderbird-ublock-origin() {
groups=(thunderbird-addons)
+
cd uBlock/dist/build
install -Dm644 uBlock0.thunderbird.xpi \
"$pkgdir"/usr/lib/thunderbird/browser/extensions/[email protected]
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ublock-origin/-/commit/6de115e1f317a9c09ef41d9584b0175c7da2c0e2
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ublock-origin/-/commit/6de115e1f317a9c09ef41d9584b0175c7da2c0e2
You're receiving this email because of your account on gitlab.archlinux.org.