diff options
author | gardenappl | 2019-09-08 17:49:23 +0300 |
---|---|---|
committer | gardenappl | 2019-09-08 17:49:23 +0300 |
commit | 89b0301b5f31caac03f2c3e7de74632caa0958d2 (patch) | |
tree | 25ce46a7c80c0d0ec6ed0d195c6ea71f71abd62d | |
download | aur-89b0301b5f31caac03f2c3e7de74632caa0958d2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | chromium-extension-adnauseam.install | 17 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6b048f89123e --- /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 000000000000..9ffa59506ec1 --- /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 000000000000..867f53d42fc4 --- /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 +} |