summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgardenappl2019-09-08 17:49:23 +0300
committergardenappl2019-09-08 17:49:23 +0300
commit89b0301b5f31caac03f2c3e7de74632caa0958d2 (patch)
tree25ce46a7c80c0d0ec6ed0d195c6ea71f71abd62d
downloadaur-89b0301b5f31caac03f2c3e7de74632caa0958d2.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
-rw-r--r--chromium-extension-adnauseam.install17
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b048f89123
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = chromium-extension-adnauseam
+ pkgdesc = An ad-blocker which silently simulates clicks on each blocked ad, confusing trackers
+ pkgver = 3.8.302
+ pkgrel = 1
+ url = https://adnauseam.io
+ install = chromium-extension-adnauseam.install
+ arch = any
+ license = GPL3
+ makedepends = zip
+ optdepends = chromium: open-source web browser from Google
+ optdepends = google-chrome: Google's freeware web browser
+ source = https://github.com/dhowe/AdNauseam/releases/download/v3.8.302/adnauseam-3.8.302.chromium.zip
+ sha256sums = e96564a6013a41467ca79e4a9df418dd47c76b3ad45d0dc35ac44c1c33bee035
+
+pkgname = chromium-extension-adnauseam
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9ffa59506ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Yurii <yu hrysh at proton mail dot com>
+
+pkgname=chromium-extension-adnauseam
+pkgver=3.8.302
+pkgrel=1
+pkgdesc='An ad-blocker which silently simulates clicks on each blocked ad, confusing trackers'
+arch=('any')
+url='https://adnauseam.io'
+license=('GPL3')
+makedepends=('zip')
+optdepends=("chromium: open-source web browser from Google"
+ "google-chrome: Google's freeware web browser")
+install="${pkgname}.install"
+source=("https://github.com/dhowe/AdNauseam/releases/download/v${pkgver}/adnauseam-${pkgver}.chromium.zip")
+sha256sums=('e96564a6013a41467ca79e4a9df418dd47c76b3ad45d0dc35ac44c1c33bee035')
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/${pkgname}"
+ cp -dr --no-preserve=ownership "${srcdir}/adnauseam.chromium"/* "${pkgdir}/usr/share/${pkgname}/"
+}
diff --git a/chromium-extension-adnauseam.install b/chromium-extension-adnauseam.install
new file mode 100644
index 00000000000..867f53d42fc
--- /dev/null
+++ b/chromium-extension-adnauseam.install
@@ -0,0 +1,17 @@
+post_install() {
+ echo ""
+ echo "======================================="
+ echo "This extension must be manually enabled now!"
+ echo "Instructions for Chromium/Chrome:"
+ echo " 1. Go to your extensions menu."
+ echo " 2. Enable Developer Mode."
+ echo " 3. Choose 'Load unpacked extension'"
+ echo ""
+ echo "The unpacked extension is located in: /usr/share/chromium-extension-adnauseam"
+ echo "======================================="
+ echo ""
+}
+
+post_upgrade() {
+ post_install
+}