2015-04-14, 12:00
DESTDIR works fine, it just does what it is designed to do (it is a prefix to the prefix). if -DPACKAGE_ZIP=1 is passed, you get the expected result, since that installs to <addonid> ignoring the prefix (it's meant to be used to build .zips).