I currently make a package for an untagged project on Github. The only way (afaik) to fetch the source code is to get the following URL:
So I add this section in my Makefile:
It works, but is there a preferred/better way to do this?
Regards
Code:
https://github.com/${USER}/${PROJECT}/archive/refs/heads/master.zip
Makefile:
do-fetch:
curl https://github.com/${USER}/${PROJECT}/archive/refs/heads/master.zip $(PORTNAME).zip
It works, but is there a preferred/better way to do this?
Regards