Rizin was forked from radare2.

Some subprojects are not packaged in Kali, therefore they are embedded in the
source package under debian/subprojects/. These subprojects need to be updated
when a new version of Rizin is packaged. Here's the procedure:

    rm -fr debian/subprojects
    mkdir debian/subprojects
    for p in blake2 blake3 libdemangle rizin-grammar-c sigdb softfloat tree-sitter zydis; do
        meson subprojects download $p
	if [ $p != tree-sitter ]; then
	    mv subprojects/$p debian/subprojects
	    rm -fr debian/subprojects/$p/.git*
	    rm -fr debian/subprojects/$p/test/
	fi
	if [ $p == tree-sitter ]; then
	    mv subprojects/$p-* debian/subprojects
	    rm -fr debian/subprojects/$p-*/.git*
	    rm -fr debian/subprojects/$p-*/test/
	fi
    done

If ever some subprojects are added/removed, make sure to also update the file
debian/clean.

 -- Arnaud Rebillout <arnaudr@kali.org>  Wed, 24 Aug 2022 20:22:21 +0700
