New comment by reback00 on void-packages repository https://github.com/void-linux/void-packages/pull/15627#issuecomment-663993671 Comment: I found out what's the issue. The deps are downloaded just fine. But they are not copied to `src` (under build dir). If they are put there before the `make` calls, it will take those files and proceed. So we'd have to manually copy them to src: ``` post_extract() { echo "${skip_extraction}" | while read archive ; do if [ -f "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" ]; then cp "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" \ "${wrksrc}/${build_wrksrc}/" fi done } ``` I also did some testing. It seems xbps is now able to download from `/hg/` urls. So we can now have 100% files cached: ``` distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz http://foicica.com/hg/scintilla/archive/99fa62b828ee.zip http://foicica.com/hg/gtdialog/archive/db67f8a489e8.zip https://foicica.com/hg/bombay/archive/tip.zip>bombay.zip http://www.lua.org/ftp/lua-5.3.5.tar.gz http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz https://foicica.com/textadept/download/textadept_${version}.modules.zip" checksum="..." skip_extraction=" 99fa62b828ee.zip db67f8a489e8.zip bombay.zip lua-5.3.5.tar.gz lpeg-1.0.2.tar.gz v1_7_0_2.zip cdk-5.0-20150928.tgz libtermkey-0.20.tar.gz " ``` > * textadept_${version}.modules.zip is not used at all. > * Scintilla, lua et al. are downloaded during configure again. So the second issue should be solved. I have these applied in a version [here](https://notabug.org/reback00/void-goodies/src/master/srcpkgs/textadept) if anyone's interested. I'll push an update once we figure out modules.zip So, what can we do with modules.zip. It's optional and it's just plugins. Should we discard it completely? Should we create another package for it, like `textadept-modules` (similar to `geany-plugins`)? EDIT: Can we/should we create a subpackage in the template for the modules?