abinfo "Building qcustomplot..."
tar xvf "$SRCDIR"/../sharedlib.tar.gz
qmake-qt5 CONFIG+=release CONFIG+=force_debug_info "$SRCDIR"/qcustomplot-sharedlib/sharedlib-compilation/sharedlib-compilation.pro
make

abinfo "Installing qcustomplot..."
install -vDm 644 "$SRCDIR"/qcustomplot.h -t "$PKGDIR"/usr/include/
install -vdm 755 "$PKGDIR"/usr/lib/
cp -av "$SRCDIR"/libqcustomplot.so* "$PKGDIR"/usr/lib/
install -vDm 644 "$SRCDIR"/changelog.txt -t "$PKGDIR"/usr/share/doc/qcustomplot/
install -vDm 644 "$SRCDIR"/documentation/*.qch -t "$PKGDIR"/usr/share/doc/qt/
cp -vR "$SRCDIR"/documentation/html "$PKGDIR"/usr/share/doc/qcustomplot
cp -vR "$SRCDIR"/examples/* -t "$PKGDIR"/usr/share/doc/qcustomplot
