R2PM_BEGIN

R2PM_GIT "https://github.com/danigargu/ida-syms2elf"
R2PM_DESC "[r2-r2pipe-python] Export recognized symbols to the ELF symbol table"

R2_RCD="${R2PM_PLUGDIR}/../radare2rc.d"

R2PM_INSTALL() {
	mkdir -p "${R2_RCD}"
	echo '$syms2elf=#!pipe python '"'`pwd`'"'/syms2elf.py' > "${R2_RCD}/syms2elf"
}

R2PM_UNINSTALL() {
	rm -f "${R2_RCD}"/syms2elf
}

R2PM_END
