aboutsummaryrefslogtreecommitdiff
path: root/mpd
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /mpd
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'mpd')
-rw-r--r--mpd/.checksum2
-rw-r--r--mpd/.files16
-rw-r--r--mpd/abuild9
-rw-r--r--mpd/depends1
-rwxr-xr-xmpd/postinstall3
-rwxr-xr-xmpd/run5
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:-}