Add pkgprovides bash function.