#!/usr/bin/env beesh

# BEE_VERSION audacious-plugins-4.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-plugins-${PKGVERSION}.tar.bz2"
SRCURL[0]="https://beehive.molgen.mpg.de/740d83757b49b82bc75e256c96b09bfd/audacious-plugins-4.1.tar.bz2"

# PATCHURL+=()

build_in_sourcedir

# sourcesubdir_append src

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

mee_patch() {
    bee_patch "${@}"
    sed -i '/^LOCALES/ s/LOCALES/LOCALES = \nNOPE_LOCALES/' po/Makefile
}

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

#mee_build() {
#    bee_build
#}

#mee_install() {
#    bee_install
#}