summaryrefslogtreecommitdiff
path: root/repo/alsa-plugins/alsa-plugins.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/alsa-plugins/alsa-plugins.xibuild')
-rw-r--r--repo/alsa-plugins/alsa-plugins.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/alsa-plugins/alsa-plugins.xibuild b/repo/alsa-plugins/alsa-plugins.xibuild
new file mode 100644
index 0000000..d85404e
--- /dev/null
+++ b/repo/alsa-plugins/alsa-plugins.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl alsa-lib"
+
+DESC="Additional ALSA plugins"
+
+PKG_VER=1.2.6
+SOURCE=https://www.alsa-project.org/files/pub/plugins/alsa-plugins-$PKG_VER.tar.bz2
+
+build () {
+ ./configure --sysconfdir=/etc &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ mv "$PKG_DEST/etc/alsa/conf.d/99-pulseaudio-default.conf.example" \
+ "$PKG_DEST/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf"
+
+}
+