I'm reworking arscons to support the Due and Arduino 1.5. It may be cloned at:
Please make sure that you clone the arduino_due_x branch.
It is not as flexible as the original arscons yet.
You may have to set the following variables:
Put your code in the project directory as a .cpp file. Make sure that you include Arduino.h manually. Then:
I have tested this on Ubuntu 12.10.
Keep up the good work!