Initial commit
This commit is contained in:
commit
002721c63c
12 files changed
+1124
No files matched your search
@@ -0,0 +1,48 @@
|
||||
# Maintainer: Sean Doran <sean351@github>
|
||||
pkgname=turnup
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux"
|
||||
arch=('any')
|
||||
url="https://github.com/sean351/turn-up-arch"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'python>=3.10'
|
||||
'python-pyserial'
|
||||
'python-pulsectl'
|
||||
'pipewire-pulse' # or pulseaudio — provides the PulseAudio socket
|
||||
)
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-hatchling'
|
||||
)
|
||||
optdepends=(
|
||||
'playerctl: media key support via button commands'
|
||||
)
|
||||
backup=()
|
||||
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
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Systemd user service
|
||||
install -Dm644 contrib/turnupd.service \
|
||||
"$pkgdir/usr/lib/systemd/user/turnupd.service"
|
||||
|
||||
# License
|
||||
install -Dm644 LICENSE \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
||||
# Documentation
|
||||
install -Dm644 README.md \
|
||||
"$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
}
|
||||
Reference in new issue
Block a user