summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Semkin2019-11-20 03:12:39 +0300
committerIvan Semkin2019-11-20 03:12:39 +0300
commitbb106a65a88443463e4b841cea94df7d1b7da63c (patch)
tree20febac21c56769902a0832aca53789796056b09
downloadaur-chromium-extension-autoscroll.tar.gz
initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
-rw-r--r--chromium-extension-autoscroll.install10
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8810f812c9c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = chromium-extension-autoscroll
+ pkgdesc = Customizable autoscroll support for Chromium
+ pkgver = 4.10
+ pkgrel = 1
+ url = https://github.com/Pauan/AutoScroll
+ install = chromium-extension-autoscroll.install
+ arch = any
+ license = MIT
+ makedepends = git
+ optdepends = chromium: open-source web browser from Google
+ optdepends = google-chrome: Google's freeware web browser
+ source = git+https://github.com/Pauan/AutoScroll#commit=625c045ddd74debeb480d54cc96f66aeff52fcbf
+ sha256sums = SKIP
+
+pkgname = chromium-extension-autoscroll
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f8a52e70cd9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Ivan Semkin <ivan AT semkin DOT ru>
+
+pkgname=chromium-extension-autoscroll
+pkgver=4.10
+pkgrel=1
+pkgdesc='Customizable autoscroll support for Chromium'
+arch=(any)
+url='https://github.com/Pauan/AutoScroll'
+license=(MIT)
+makedepends=(git)
+optdepends=("chromium: open-source web browser from Google"
+ "google-chrome: Google's freeware web browser")
+install="${pkgname}.install"
+source=('git+https://github.com/Pauan/AutoScroll#commit=625c045ddd74debeb480d54cc96f66aeff52fcbf')
+sha256sums=('SKIP')
+
+package() {
+ install -d "${pkgdir}/usr/share/${pkgname}"
+ cp -dr --no-preserve=ownership "${srcdir}/AutoScroll/src"/* "${pkgdir}/usr/share/${pkgname}/"
+}
diff --git a/chromium-extension-autoscroll.install b/chromium-extension-autoscroll.install
new file mode 100644
index 00000000000..639906e9189
--- /dev/null
+++ b/chromium-extension-autoscroll.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo "Instructions on how to add Autoscroll to you Chrome/Chromium browser can"
+ echo "be found at https://github.com/gorhill/uBlock/blob/master/dist/README.md."
+ echo ""
+ echo "The unpacked extension is located in: /usr/share/chromium-extension-autoscroll"
+}
+
+post_upgrade() {
+ post_install
+}