diff options
Diffstat (limited to 'mpd')
| -rw-r--r-- | mpd/.checksum | 2 | ||||
| -rw-r--r-- | mpd/.files | 16 | ||||
| -rw-r--r-- | mpd/abuild | 9 | ||||
| -rw-r--r-- | mpd/depends | 1 | ||||
| -rwxr-xr-x | mpd/postinstall | 3 | ||||
| -rwxr-xr-x | mpd/run | 5 |
6 files changed, 36 insertions, 0 deletions
diff --git a/mpd/.checksum b/mpd/.checksum new file mode 100644 index 00000000..0e22784f --- /dev/null +++ b/mpd/.checksum @@ -0,0 +1,2 @@ +29b8b77da9b1654cce6d11021750dbc5aa17d5ccd38dc584543d0e3a45dfbd87 mpd-0.24.4.tar.xz +ae90a0622513cc6f50dc21122cac50b3965a7243ebb82cd242a9192c37946c7c run diff --git a/mpd/.files b/mpd/.files new file mode 100644 index 00000000..0574a301 --- /dev/null +++ b/mpd/.files @@ -0,0 +1,16 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/mpd/ +-rw-r--r-- root/root etc/mpd/mpd.conf.new +drwxr-xr-x root/root etc/sv/ +drwxr-xr-x root/root etc/sv/mpd/ +-rwxr-xr-x root/root etc/sv/mpd/run.new +lrwxrwxrwx root/root etc/sv/mpd/supervise -> ../../../run/runit/supervise.mpd +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mpd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/mpd.svg diff --git a/mpd/abuild b/mpd/abuild new file mode 100644 index 00000000..dd9133ee --- /dev/null +++ b/mpd/abuild @@ -0,0 +1,9 @@ +name=mpd +version=0.24.4 +release=1 +source="https://www.musicpd.org/download/${name}/${version%.*}/${name}-${version}.tar.xz + run" +sv="run" +postbuild() { + install -Dm 0644 doc/mpdconf.example $PKG/etc/mpd/mpd.conf +} diff --git a/mpd/depends b/mpd/depends new file mode 100644 index 00000000..34c385ae --- /dev/null +++ b/mpd/depends @@ -0,0 +1 @@ +fmt diff --git a/mpd/postinstall b/mpd/postinstall new file mode 100755 index 00000000..39c2e59a --- /dev/null +++ b/mpd/postinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +adduser -S -D -h /var/lib/mpd -s /sbin/nologin -G audio -g mpd mpd 2>/dev/null diff --git a/mpd/run b/mpd/run new file mode 100755 index 00000000..bc002d4f --- /dev/null +++ b/mpd/run @@ -0,0 +1,5 @@ +#!/bin/sh +exec 2>&1 +[ -r conf ] && . ./conf +install -d -m 0755 -o mpd -g mpd /run/mpd +exec mpd --no-daemon ${OPTS:-} |