diff --git a/srcpkgs/mpd/files/mpd/run b/srcpkgs/mpd/files/mpd/run index bde3c869b6..9dade12f41 100755 --- a/srcpkgs/mpd/files/mpd/run +++ b/srcpkgs/mpd/files/mpd/run @@ -1,3 +1,5 @@ #!/bin/sh install -d -m 0755 -o mpd -g mpd /run/mpd +install -d -m 0755 /var/lib/mpd/playlists +chown -R mpd:mpd /var/lib/mpd exec mpd --no-daemon diff --git a/srcpkgs/mpd/template b/srcpkgs/mpd/template index 5b58c9e31a..7157dba6a8 100644 --- a/srcpkgs/mpd/template +++ b/srcpkgs/mpd/template @@ -1,7 +1,7 @@ # Template file for 'mpd' pkgname=mpd version=0.19.16 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-opus --enable-mikmod --enable-neighbor-plugins --enable-soundcloud --enable-pipe-output --disable-twolame-encoder @@ -22,7 +22,6 @@ makedepends=" conf_files="/etc/mpd.conf" system_accounts="mpd" mpd_homedir="/var/lib/mpd" -make_dirs="/var/lib/mpd/playlists 0755 mpd mpd" short_desc="Flexible, powerful, server-side application for playing music" maintainer="Juan RP " license="GPL-2"