#!/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"

}