New comment by nuckle on void-packages repository https://github.com/void-linux/void-packages/pull/48831#issuecomment-1952461860 Comment: > As far as I know, you should insert distfiles before checksum and remove do_fetch (from what I've learned git clone in do_fetch is not the right way to do it in Void): `distfiles="https://github.com/MatsuriDayo/nekoray/archive/refs/tags/${version}.tar.gz"` > > Oh, and remember to update the sha256sum checksum. Yes, I checked the order with `xlint`. I tried to create this template without dealing with `do_fetch`, but the issue is that `.tar` doesn't contain any files for 3rd party dependencies and there's no git repository inside of it. You can't compile nekoray without those submodules, so you have to use something like this ``` git clone https://github.com/MatsuriDayo/nekoray.git --recursive ``` or this ``` git clone \ --branch ${version} \ https://github.com/MatsuriDayo/${pkgname}.git ${wrksrc}/${pkgname} cd ${wrksrc}/${pkgname} git submodule init git submodule update ``` to get them. Also there's an issue with database packages. I tried to use `build_style=go`, but looks like the binary is useless and the only way to make use of it is to run it directly with `go run -v .`, but I don't really know how to do it properly in Void's template format, so it's kind of a mess too