New build_style: "fetch" to only fetch files and copy them to ${wrksrc}.
This is based on the first approach by chneukirchen.
This commit is contained in:
parent
407a882b1a
commit
805fc50cf0
2 changed files with 11 additions and 0 deletions
9
common/build_style/fetch.sh
Normal file
9
common/build_style/fetch.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
# 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue