depends on the specific gun, but typically you have a normal rifle fire control group in the rear which the trigger is connected to by a long (and frequently unfortunately flexible) rod.
some bullpups are different, however, like the RDB, which has the fire control group close to the trigger, and actually telescopes the entire hammer around the bolt group.