add shell func to curl PKGBUILD