Pub music/beer festivals seem to be all the rage now, often for 'charity'. Band play free, the charity gets a donation of coppers chucked in a bucket and the pub sells more beer in two days than two months. Bands should at least be offered a fee. If you choose, then you can donate that to the charity...
How long do they want you to play? Divide up your normal fee according to the set length.