#
# . ./build.vars and set -o errexit are assumed.
#
pkg_zsh_fetch() {
WGET_ARGS="-O ${PKG_FNAME}";
fetch "${PKG_URL}";
fetch "$(sed -ne '/class="direct-download">/s/^\s*<a href="\(.\+\)" class="direct-download">$/\1/p' \
${PKG_FNAME})" ${PKG_SHA256SUM};
};
# vim:filetype=sh