Green light for new pharmacy building