Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
#
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
# . ./build.vars and set -o errexit are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
#
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
pkg_zsh_fetch() {
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
	WGET_ARGS="-O ${PKG_FNAME}";
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
	fetch "${PKG_URL}";
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
	fetch "$(sed -ne '/class="direct-download">/s/^\s*$/\1/p'	\
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
			${PKG_FNAME})" ${PKG_SHA256SUM};
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
};
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
Lucio Andrés Illanes Albornoz (arab, vxp) a41d08
# vim:filetype=sh