#!/usr/bin/env beesh

# BEE_VERSION texstudio-2.12.4-0

SRCURL[0]="https://downloads.sourceforge.net/project/texstudio/texstudio/TeXstudio%20${PKGVERSION}/texstudio-${PKGVERSION}.tar.gz"

# PATCHURL+=()

# EXCLUDE+=()

# build_in_sourcedir

# sourcesubdir_append src


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

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

mee_configure() {
    start_cmd qmake PREFIX=${PREFIX} ${S}/texstudio.pro
}

mee_build() {
    start_cmd make ${BEE_MAKEFLAGS} "${@}"
}

mee_install() {
    start_cmd make ${BEE_MAKEFLAGS} install INSTALL_ROOT=${D}
}
## by default this may be 'make install DESTDIR="${D}"'