abinfo "Installing AppData XML ..."
install -Dvm0644 "$SRCDIR"/contrib/audacious.appdata.xml \
    "$PKGDIR"/usr/share/appdata/audacious.appdata.xml

(
    cd "$SRCDIR"/../audacious-plugins-"$PKGVER"
    SRCDIR="$PWD"
    BLDDIR="$SRCDIR/abbuild"
    MESON_AFTER=()

    abinfo "Applying patches for plugins ..."
    ab_apply_patches "$SRCDIR"/../audacious-"$PKVER"/autobuild/patches/*.plugins

    build_meson_configure
    build_meson_build
    build_meson_install
)
