diff --git a/srcpkgs/alsa-utils/files/alsa/finish b/srcpkgs/alsa-utils/files/alsa/finish new file mode 100755 index 00000000000..14392586afa --- /dev/null +++ b/srcpkgs/alsa-utils/files/alsa/finish @@ -0,0 +1,3 @@ +#!/bin/sh +set -e +exec alsactl store diff --git a/srcpkgs/alsa-utils/files/alsa/run b/srcpkgs/alsa-utils/files/alsa/run new file mode 100755 index 00000000000..728c4c8dd76 --- /dev/null +++ b/srcpkgs/alsa-utils/files/alsa/run @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +alsactl restore +exec chpst -b alsa pause diff --git a/srcpkgs/alsa-utils/files/alsa/supervise b/srcpkgs/alsa-utils/files/alsa/supervise new file mode 120000 index 00000000000..30bed6bfecf --- /dev/null +++ b/srcpkgs/alsa-utils/files/alsa/supervise @@ -0,0 +1 @@ +/run/runit/supervise.alsa \ No newline at end of file diff --git a/srcpkgs/alsa-utils/template b/srcpkgs/alsa-utils/template index 7b6bb0ce152..8084e678f1a 100644 --- a/srcpkgs/alsa-utils/template +++ b/srcpkgs/alsa-utils/template @@ -1,7 +1,8 @@ # Template build file for 'alsa-utils'. pkgname=alsa-utils version=1.0.28 -revision=2 +revision=3 +replaces="runit-void<20141013_2" build_style=gnu-configure configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf" hostmakedepends="pkg-config xmlto" @@ -25,4 +26,5 @@ post_install() { # Install required udev rules file. make -C alsactl 90-alsa-restore.rules vinstall alsactl/90-alsa-restore.rules 644 usr/lib/udev/rules.d + vsv alsa }