blob: 9748abb5db281632367b275c1c45c8a5d056676e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Your Name <sofia@teascade.net>
pkgname=pipeswitchd
pkgver=1.0.1
pkgrel=1
pkgdesc="Daemon for PipeWire that automatically links audio inputs and outputs based on regular expressions, similar to patchbay."
arch=('any')
url="https://github.com/Teascade/pipeswitch"
license=('GPL3')
depends=('pipewire')
makedepends=('git' 'rust')
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
sha512sums=('SKIP')
build() {
cd "$srcdir/${pkgname}"
cargo build --release
}
package() {
cd "$srcdir/${pkgname}"
install -Dm755 "${srcdir}/${pkgname}/target/release/pipeswitchd" "${pkgdir}/usr/bin/pipeswitchd"
install -Dm755 "${srcdir}/${pkgname}/contrib/pipeswitchd.service" "${pkgdir}/usr/lib/systemd/user/pipeswitchd.service"
}
|