aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-21 23:54:27 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-21 23:54:27 +0100
commit17dbe18913a2051ac3f697af778471975a13253b (patch)
tree1228ca549af8b67dda32fb05e5182f296266105c /PKGBUILD
parentinstall ublock origin with PKGBUILD, #106 1/2 (diff)
downloadlibrewolf-linux-17dbe18913a2051ac3f697af778471975a13253b.tar.gz
librewolf-linux-17dbe18913a2051ac3f697af778471975a13253b.tar.bz2
librewolf-linux-17dbe18913a2051ac3f697af778471975a13253b.zip
install ublock origin with tarball, #106 2/2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 78d64f7..4bfa965 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, American English')
options=(!emptydirs !makeflags !strip)
-noextract=("ublock_origin-$pkgver-an+fx.xpi")
+noextract=("ublock_origin-$ublockver-an+fx.xpi")
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
$pkgname.desktop
"git+https://gitlab.com/${pkgname}-community/browser/common.git"
@@ -237,7 +237,7 @@ pref("browser.shell.checkDefaultBrowser", false);
pref("extensions.autoDisableScopes", 11);
END
- install -Dm644 "${srcdir}/ublock_origin-$pkgver-an+fx.xpi" "$pkgdir"/usr/lib/${pkgname}/browser/extensions/uBlock0@raymondhill.net.xpi
+ install -Dm644 "${srcdir}/ublock_origin-$ublockver-an+fx.xpi" "$pkgdir"/usr/lib/${pkgname}/browser/extensions/uBlock0@raymondhill.net.xpi
cp -r ${srcdir}/settings/* ${pkgdir}/usr/lib/${pkgname}/
local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
bgstack15