Council OKs plan to buy building for police station