master
aldum 2 years ago
commit 4da5f17755
  1. 31
      PKGBUILD
  2. 2
      pipewire.run
  3. 1
      src/pipewire.run

@ -0,0 +1,31 @@
# Maintainer: aldum <aldum@artixlinux.org>
_sed_args=(-e 's|/var/run|/run|g' -e 's|\(/usr\)\?/sbin|/usr/bin|g')
pkgname=pipewire-runit
pkgver=20201214
pkgrel=1
pkgdesc="runit service scripts for pipewire"
arch=('any')
url="https://gitea.artixlinux.org/"
license=('BSD3')
groups=('runit-system')
depends=('pipewire' 'runit')
provides=('runit-pipewire' 'pipewire-runscripts' 'init-pipewire')
replaces=('pipewire-runscripts')
conflicts=()
source=("pipewire.run")
sha256sums=('0562a927f43ee2d6446a91aaa37ab3f0ac65982f0cff0ed59ab113845e7afc9d')
_inst_sv(){
for file in run finish check; do
if test -f "$srcdir/$1.$file"; then
install -Dm755 "$srcdir/$1.$file" "$pkgdir/etc/runit/sv/$1/$file"
sed "${_sed_args[@]}" -i "$pkgdir/etc/runit/sv/$1/$file"
fi
done
}
package() {
_inst_sv 'pipewire'
}

@ -0,0 +1,2 @@
#!/bin/sh
exec pipewire 2>&1

@ -0,0 +1 @@
/home/aldum/.cache/yay/pipewire-runit/pipewire.run
Loading…
Cancel
Save