vp-build/common/build_style/fetch.sh

10 lines
241 B
Bash
Raw Normal View History

# fetch build_style: fetches and copies files to ${wrksrc}.
do_extract() {
mkdir -p ${wrksrc}
for f in ${distfiles}; do
curfile=$(basename "${f#*>}")
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile} ${wrksrc}/${curfile}
done
}