summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfranck.stauffer2020-07-02 11:50:49 +0200
committerfranck.stauffer2020-07-02 11:50:49 +0200
commit64e6062b2da4bb245373a78d4fc6715a91aa6208 (patch)
tree11665c5abd75efbbae550849c5bda897db9ba0ed
downloadaur-64e6062b2da4bb245373a78d4fc6715a91aa6208.tar.gz
Initial commit (version 2020.6.29)
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f2e0151c09c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = chromium-extension-privacybadger
+ pkgdesc = Block third party tracking in your browser
+ pkgver = 2020.6.29
+ pkgrel = 1
+ url = https://privacybadger.org/
+ arch = any
+ license = GPL3
+ depends = chromium
+ noextract = chromium-extension-privacybadger-2020.6.29.crx
+ source = chromium-extension-privacybadger-2020.6.29.crx::https://www.eff.org/files/privacy_badger-2020.6.29.crx
+ b2sums = a433fee9ae6556a283acb9642d27cf1d80c52f35e2363982275bba1bbf210a12b63bc96cc00566299e6156cf56627fa1d8d4faf8468c245ec76c5bfbd18b3c1a
+
+pkgname = chromium-extension-privacybadger
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..80019106962
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Franck Stauffer <franck.stauffer@monaco.mc>
+
+pkgname='chromium-extension-privacybadger'
+pkgver=2020.6.29
+pkgrel=1
+pkgdesc="Block third party tracking in your browser"
+license=('GPL3')
+arch=('any')
+url="https://privacybadger.org/"
+depends=('chromium')
+source=("$pkgname-$pkgver.crx::https://www.eff.org/files/privacy_badger-$pkgver.crx")
+noextract=("$pkgname-$pkgver.crx")
+b2sums=('a433fee9ae6556a283acb9642d27cf1d80c52f35e2363982275bba1bbf210a12b63bc96cc00566299e6156cf56627fa1d8d4faf8468c245ec76c5bfbd18b3c1a')
+
+package() {
+ install -Dm644 "$pkgname-$pkgver.crx" "$pkgdir/usr/share/$pkgname/$pkgname.crx"
+
+ install -dm755 "$pkgdir/usr/share/chromium/extensions/"
+
+ echo '{' > "$pkgdir/usr/share/chromium/extensions/pkehgijcmpdhfbdbbnkijodmdjhbjlgp.json"
+ echo "\"external_crx\": \"/usr/share/$pkgname/$pkgname.crx\"," >> "$pkgdir/usr/share/chromium/extensions/pkehgijcmpdhfbdbbnkijodmdjhbjlgp.json"
+ echo "\"external_version\": \"$pkgver\"" >> "$pkgdir/usr/share/chromium/extensions/pkehgijcmpdhfbdbbnkijodmdjhbjlgp.json"
+ echo '}' >> "$pkgdir/usr/share/chromium/extensions/pkehgijcmpdhfbdbbnkijodmdjhbjlgp.json"
+}