[Bjørn: set namePrefix = "" to align attrname/pkgname, break overlong lines, change patchPhase into postPatch so that 'patches' can still be used.]