abinfo "Building tuned ..."
make

abinfo "Installing tuned ..."
make install install-ppd \
    DESTDIR="$PKGDIR" \
    SBINDIR=/usr/bin \
    DOCDIR=/usr/share/doc/"$PKGNAME"

abinfo "Compiling tuned Python code ..."
python3 -m compileall \
    "$PKGDIR"/usr/bin/{powertop2tuned,tuned,tuned-adm,tuned-gui,tuned-ppd,varnetload} \
    "$PKGDIR"/usr/lib/python*/site-packages/tuned/
