diff --git a/srcpkgs/bluez-alsa/files/bluez-alsa/run b/srcpkgs/bluez-alsa/files/bluez-alsa/run
index 106d8c00620..d7772454b56 100644
--- a/srcpkgs/bluez-alsa/files/bluez-alsa/run
+++ b/srcpkgs/bluez-alsa/files/bluez-alsa/run
@@ -2,7 +2,7 @@
dir=/var/run/bluealsa
user=_bluez_alsa
-group=_bluez_alsa
+group=audio
[ ! -d "${dir}" ] && mkdir "${dir}" && chown $user:$group ${dir}
exec chpst -u $user:$group bluealsa
diff --git a/srcpkgs/bluez-alsa/files/bluez_alsa.conf b/srcpkgs/bluez-alsa/files/bluez_alsa.conf
new file mode 100644
index 00000000000..b1de0810c6f
--- /dev/null
+++ b/srcpkgs/bluez-alsa/files/bluez_alsa.conf
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/srcpkgs/bluez-alsa/template b/srcpkgs/bluez-alsa/template
index 02cdda5c98f..d0517d158be 100644
--- a/srcpkgs/bluez-alsa/template
+++ b/srcpkgs/bluez-alsa/template
@@ -1,25 +1,28 @@
# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=1.3.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--enable--aac --disable-hcitop --enable-debug"
hostmakedepends="pkg-config automake libtool"
makedepends="alsa-lib-devel fdk-aac-devel libbluetooth-devel libglib-devel
ortp-devel sbc-devel"
short_desc="Bluetooth Audio ALSA Backend"
-maintainer="Toyam Cox "
+maintainer="Toyam Cox "
license="MIT"
homepage="https://github.com/Arkq/bluez-alsa"
distfiles="https://github.com/Arkq/bluez-alsa/archive/v${version}.tar.gz"
checksum=29dad23877d0cf46a16e2f8d3746219e89068c33d052059caf1caaacd8b40cac
system_accounts="_bluez_alsa"
+_bluez_alsa_groups="audio"
pre_configure() {
autoreconf -fi
}
post_install() {
+ vinstall ${FILESDIR}/bluez_alsa.conf 644 etc/dbus-1/system.d/
+
vlicense LICENSE.txt
vsv bluez-alsa
}