CONFIG_OPTS="--prefix=/usr \
             --sysconfdir=/etc \
             --localstatedir=/var \
             --systemdsystemunitdir=/usr/lib/systemd/system \
             --bashcompletiondir=/usr/share/bash-completion"

if ab_match_archgroup retro; then
    CONFIG_OPTS=" \
             ${CONFIG_OPTS} \
             --disable-documentation"
fi

abinfo "Configuring..."
"$SRCDIR"/configure \
    ${CONFIG_OPTS}

abinfo "Making..."
export enable_test=no
make $ABMK

abinfo "Installing..."
make DESTDIR="$PKGDIR" install
