Files
PKGBUILDS/middleclick-autoscroll/PKGBUILD
T
Felitendo 65d41cfcc2 bottles-opener, cachy-auto-update, middleclick-autoscroll, plasma-face-unlock: refresh checksums
The release tags now point at the squashed history, so GitHub's tarballs changed.
2026-09-24 09:37:17 +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.5.3
pkgrel=1
pkgdesc="Middle-click autoscroll in every application that supports it"
arch=('any')
url="https://github.com/LoonixTools/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=('532194f89bd09d2145544a7b671942ec644b79189ca522f516451359d572591a')
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
}