bottles-opener, bt-volume-step, cachy-auto-update, face-unlock, face-unlock-bin, middleclick-autoscroll: source from git.felo.gg [skip ci]

This commit is contained in:
Felitendo committed 2026-10-04 20:40:44 +02:00
1 parent 30617166f5
commit 06bc509002
12 files changed
+72 -64

No files matched your search

+6 -6
View File
@@ -1,13 +1,13 @@
# Maintainer: Felitendo
# This PKGBUILD is updated automatically:
# https://github.com/Felitendo/PKGBUILDS
# https://git.felo.gg/Felitendo/PKGBUILDS
pkgname=bt-volume-step
pkgver=1.0.0
pkgrel=1
pkgdesc="Fixed volume steps for Bluetooth audio devices on PipeWire"
arch=('any')
url="https://github.com/LoonixTools/bt-volume-step"
url="https://git.felo.gg/LoonixTools/bt-volume-step"
license=('BSD-3-Clause')
depends=('python' 'libpulse')
optdepends=('kconfig: follow the KDE Plasma volume step setting'
@@ -17,16 +17,16 @@ optdepends=('kconfig: follow the KDE Plasma volume step setting'
# anyway - it runs as root, without the user's session bus. Print the command
# instead.
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('0b06ba55c3764271856a5a806c28dc71b0802f85fd3d706699834eb4249ed097')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('32373fd4440dcd7bd19988f78675f9cf400ec7ebe51a828bbd9468ee0c5a18dc')
check() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
make check
}
package() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
make install PREFIX=/usr DESTDIR="$pkgdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+6 -4
View File
@@ -1,5 +1,5 @@
# bt-volume-step - fixed volume steps for Bluetooth audio devices on PipeWire
# (https://github.com/LoonixTools/bt-volume-step).
# (https://git.felo.gg/LoonixTools/bt-volume-step).
#
# Nothing is compiled: the payload is a single Python script plus a systemd
# user unit, installed by the upstream Makefile. Sourced from the release
@@ -12,8 +12,10 @@ UPSTREAM_REPO="LoonixTools/bt-volume-step"
BUILD_DEPS=(python)
latest_version() {
curl -sf "https://api.github.com/repos/$UPSTREAM_REPO/releases/latest" \
| jq -r '.tag_name' | sed 's/^v//'
# the highest vX.Y.Z tag; not every release has a release page
curl -sf "https://git.felo.gg/api/v1/repos/$UPSTREAM_REPO/tags?limit=50" \
| jq -r '.[].name | select(test("^v[0-9]+(\\.[0-9]+)*$"))' \
| sed 's/^v//' | sort -V | tail -n 1
}
# refresh_checksums <version> <pkgbuild-path>
@@ -21,7 +23,7 @@ refresh_checksums() {
local ver="$1" pkgbuild="$2"
local sha
sha="$(curl -sfL \
"https://github.com/$UPSTREAM_REPO/archive/refs/tags/v$ver.tar.gz" \
"https://git.felo.gg/$UPSTREAM_REPO/archive/v$ver.tar.gz" \
| sha256sum | cut -d' ' -f1)"
sed -i "s|^sha256sums=.*|sha256sums=('$sha')|" "$pkgbuild"
}