Skip to content

Commit

Permalink
New package: firefox-ublock-origin-1.62.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Emru1 committed Jan 28, 2025
1 parent 227421a commit b903f6e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions srcpkgs/firefox-ublock-origin/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Template file for 'firefox-ublock-origin'
pkgname=firefox-ublock-origin
version=1.62.0
revision=1
build_style=gnu-makefile
make_build_target="firefox"
hostmakedepends="python3 zip"
depends="firefox"
short_desc="Effecient blocker for Firefox"
maintainer="Emil Tomczyk <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://ublockorigin.com/"
_uassets_master="5722991a9ad362eaf4f2bb6ff64f08cccbafa2ef"
_uassets_ghpages="2dde847869577e87fb9e0e095ac25323eba26560"
distfiles="https://github.com/gorhill/uBlock/archive/refs/tags/${version}.tar.gz
https://github.com/uBlockOrigin/uAssets/archive/${_uassets_master}.tar.gz
https://github.com/uBlockOrigin/uAssets/archive/${_uassets_ghpages}.tar.gz"
checksum="1f9d69f968ddec2ccfd3b104a3e0cda80403efd1a63356924406cf5296cde67b
a04e029394796104f60c346625707e1740069df8aea7e35af6d679b7b6febccb
afb5a554eefe4f4f8ecb8217d29518df71c76f1e85a10ffbd788c61e400c736d"
skip_extraction="${_uassets_master}.tar.gz
${_uassets_ghpages}.tar.gz"

post_extract() {
vsrcextract -C dist/build/uAssets/main ${_uassets_master}.tar.gz
vsrcextract -C dist/build/uAssets/prod ${_uassets_ghpages}.tar.gz
}

do_install() {
vinstall dist/build/uBlock0.firefox.xpi 0644 \
usr/lib/firefox/browser/extensions [email protected]
}

0 comments on commit b903f6e

Please sign in to comment.