David Wilson Homes has given the money to Ribble Valley Foodbank, which is close to its Inglewhite Meadow development in Longridge.