Adapt basearch to datr packagery