debian packaging

lot of code is copypasted from desktop-base