#!/usr/bin/env beesh

# BEE_VERSION audacious-3.10.1-0

# more info: https://audacious-media-player.org/
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=audacious-qt5

SRCURL[0]="https://distfiles.audacious-media-player.org/audacious-${PKGVERSION}.tar.bz2"

# PATCHURL+=()

build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
#    bee_extract "${@}"
#}

#mee_patch() {
#    bee_patch "${@}"
#}

mee_configure() {
    export TERM=dumb
    bee_configure \
        --with-diagnostics-color=no \
        --with-buildstamp='MarIuX' \
        --enable-qt \
        --disable-gtk \
        --disable-nls
}

#mee_build() {
#    bee_build
#}

#mee_install() {
#    bee_install
#}

mee_install_post() {
    rm -vrf ${D}/usr/share/locale
    rm -vrf ${D}/usr/share/audacious
}