Packs are a pretty simple concept, really. Air is compressed, and due to compression it gets hotter than it already was. The hot air is put thru a radiator of sorts, where it is cooled by outside air that is moved thru the radiator with fans on the ground or airspeed in flight. This cools the air to a relatively lower temp. The air then goes thru a turbine which decompresses it, and in that process it cools to a lower temp than it started out with. The process is not so much different than a katabatic wind, really.