void-packages/common/build_style/fetch.sh
Juan RP 805fc50cf0 New build_style: "fetch" to only fetch files and copy them to ${wrksrc}.
This is based on the first approach by chneukirchen.
2014-07-12 17:44:54 +02:00

9 lines
241 B
Bash

# 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
}