This might be a good starting point.
https://github.com/D-Programming-Language/dub/pull/431

Deimos packages are always header only libraries (source library as target type).

The Windows lib files should be distributed separately, so that people can install them in their LIB/BIN folder. In the dub package you then just add a library field, so that dub knows what to link.