bluez-alsa: simplify creation of /run/bluealsa

This commit is contained in:
maxice8 2019-01-26 20:28:46 -02:00
parent 620e07ac2f
commit ecc7b9f11c
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 3 additions and 7 deletions

View file

@ -1,10 +1,6 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
dir=/var/run/bluealsa
user=_bluez_alsa
group=audio
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
exec chpst -u $user:$group bluealsa $OPTS
vinstall -d -m0755 -o _bluez_alsa -g audio /run/bluealsa
exec chpst -u _bluez_alsa:audio bluealsa $OPTS

View file

@ -1,7 +1,7 @@
# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=1.3.1
revision=5
revision=6
build_style=gnu-configure
configure_args="--enable-aac --disable-hcitop --enable-debug"
hostmakedepends="pkg-config automake libtool"