# Maintainer: Aleksey Stepanov _pkgname=swob pkgname="${_pkgname}-git" pkgver=0 pkgrel=1 pkgdesc="Volume and brightness controls for wayland, using wob" arch=('any') url="https://git.sr.ht/~blueingreen/swob" depends=('sh' 'coreutils' 'sed' 'wob' 'alsa-utils' 'brightnessctl') optdepends=('wireplumber: wpctl, for pipewire support' 'libpulse: pactl, for pulseaudio support') license=(GPL-3.0-or-later) provides=(swob) source=("${_pkgname}::git+https://git.sr.ht/~blueingreen/swob") b2sums=(SKIP) pkgver() { cd "${_pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "${_pkgname}" DESTDIR="$pkgdir" ./install.sh }