R2PM_BEGIN

R2PM_GIT "https://github.com/radare/radare2-extras"
R2PM_DESC "[r2-bin] PYC | Python byte-compiled file support"

R2PM_INSTALL() {
    ./configure --prefix="${R2PM_PREFIX}"
    cd libr/bin/p
    make bin_pyc.${LIBEXT}
    cp -f bin_pyc.${LIBEXT} "${R2PM_PLUGDIR}"
}

R2PM_UNINSTALL() {
    rm -f "${R2PM_PLUGDIR}"/*pyc*
}

R2PM_END
