Fix PKGBUILD to comply with Arch/Python package guidelines

main
Sean Doran 2026-02-27 10:13:33 -05:00
parent 6f1855cb27
commit 55f2b6e539
1 changed files with 5 additions and 4 deletions

View File

@ -7,22 +7,23 @@ arch=('any')
url="https://github.com/sean351/turn-up-arch" url="https://github.com/sean351/turn-up-arch"
license=('MIT') license=('MIT')
depends=( depends=(
'python>=3.10' 'python'
'python-pyserial' 'python-pyserial'
'python-pulsectl' 'python-pulsectl'
'pipewire-pulse' # or pulseaudio — provides the PulseAudio socket 'pipewire-pulse'
) )
makedepends=( makedepends=(
'python-build' 'python-build'
'python-installer' 'python-installer'
'python-wheel'
'python-hatchling' 'python-hatchling'
) )
optdepends=( optdepends=(
'playerctl: media key support via button commands' 'playerctl: media key support via button commands'
'pulseaudio: alternative to pipewire-pulse'
) )
backup=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP') # Replace with actual checksum before submitting to AUR sha256sums=('SKIP')
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"