The property has been on the market for at least a year. It's part of a national trend of pharmacy closures reshaping retail.