Replacing the manual repository fork by a repackaging script