void-packages/common/build_style/fetch.sh

12 lines
259 B
Bash
Raw Normal View History

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