# Description: Internet jam session software.
# URL: http://llcon.sourceforge.net/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: qt5 jack

name=jamulus
version=3.8.0
release=1
source=("https://github.com/corrados/${name}/archive/r${version//./_}.tar.gz")

build() {

    cd ${name}-r${version//./_}

    qmake Jamulus.pro
    make clean
    make
    make INSTALL_ROOT=$PKG install
    mv "$PKG/usr/local/"* "$PKG/usr/"
    rmdir "$PKG/usr/local"

}