Add middleclick-autoscroll

Middle-click autoscroll for every Chromium-based application on the system -
Electron and CEF applications, Chromium-based browsers, Flatpaks, Spotify and
Steam - plus anything installed later. Built from source out of the upstream
release tarball, like cachy-auto-update.
This commit is contained in:
Felitendo committed 2026-08-16 19:50:26 +02:00
1 parent 9634fef4db
commit d23c5539cc
5 files changed
+121

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# Maintainer: Felitendo
# This PKGBUILD is updated automatically:
# https://github.com/Felitendo/PKGBUILDS
pkgname=middleclick-autoscroll
pkgver=1.0.0
pkgrel=1
pkgdesc="Middle-click autoscroll for Chromium-based applications - Electron, CEF, Flatpaks, Spotify and Steam included"
arch=('any')
url="https://github.com/Felitendo/middleclick-autoscroll"
license=('GPL-3.0-or-later')
depends=('bash' 'systemd' 'coreutils' 'gawk' 'grep' 'sed' 'gettext')
makedepends=('gettext' 'scdoc')
optdepends=('flatpak: cover Flatpak applications too'
'spotify-launcher: cover the official Spotify client'
'steam: cover the Steam interface'
'desktop-file-utils: refresh the desktop database after a change')
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('aac78f97d6c9261f5a383016830e5e6fd2229a62dcdbfac3bddce363021704e4')
build() {
# pass the version being packaged so `middleclick-autoscroll --version`
# cannot drift away from pkgver
make -C "${pkgname}-${pkgver}" VERSION="$pkgver"
}
package() {
make -C "${pkgname}-${pkgver}" VERSION="$pkgver" DESTDIR="$pkgdir" install
}