Files
PKGBUILDS/middleclick-autoscroll/PKGBUILD
T
Felitendo c982c4d783 middleclick-autoscroll: describe what it does, not which apps
The description listed the technologies it happens to cover, which reads
like a compatibility list and dates the moment something new turns up. What
it actually does is enable autoscroll wherever that is possible.
2026-08-16 20:19:29 +02:00

31 lines
1.1 KiB
Bash

# Maintainer: Felitendo
# This PKGBUILD is updated automatically:
# https://github.com/Felitendo/PKGBUILDS
pkgname=middleclick-autoscroll
pkgver=1.0.1
pkgrel=2
pkgdesc="Middle-click autoscroll in every application that supports it"
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=('aa4714daf81ace338ee66f6afa5628471d755557176c252fd9ff71642c3ac176')
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
}