summaryrefslogtreecommitdiff
path: root/repo/alsa-plugins/alsa-plugins.xibuild
blob: d85404ec301a65a7635be3cfe4efa817bf3be3c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"

}