I lay out the lines on the stock, usually making the opening tapered from about 1 1/2" at the rear to around 1 1/4" close to the front. Precision is not necessary. Then I cut the opening, all the way to the bottom. Then, I take a marking gauge (usually the depth gauge on my calipers) and just lightly mark a line on either side of the opening which will be the depth of my dovetails. Usually around 1/4", but will vary with the gun. I cut the dovetails with a chisel by eye. Stab along the line then back cut down from the outside. The dovetails do not have to be as sharp an angle as on a three corner file. Generally, I want them with much less of an angle. There is a bit of wood remaining at the rear of the opening that I will then cut out to the level of the dovetails and then get the dovetails trued up.
The lid I make basically the same way. I make a bit of wood with the same taper as the opening on the stock, mark the dovetails with the gauge, and cut them with a chisel (across the grain, generally) and fit it and the stock dovetails together until it closes all the way.