The bug is the duma script setting the wrong path to the installed duma library (it's good enough to just make it unqualified and not specify ./ for current directory).
duma is also declared as a bash script, while bash isn't a package requirement. The DYLD environment variables appear to be a Mac OS X equivalent to LD_PRELOAD, and unnecessary. Rather than add a dependency, it would be easier to just replace /usr/bin/duma with #!/bin/sh LD_PRELOAD=libduma.so.0.0.0 $*