Closed Freed-Wu closed 1 year ago
It's not clear how to extract the source
from PKGBUILD, given that there might be multiple sources and local repositories e.g. "$pkgname"::"git+file:///path/to/repository"
. Moreover, if we get a url from source
, then what to do with the hash? Should we prefetch the file, or use sha256sums
which may not exist in PKGBUILD? And what would happen if the source was not a url? I think this functionality, or "nixify" the source
in PKGBUILD, is beyond the scope of nvfetcher.
OK, I see :+1:
Can we use
fetch.aur
orfetch.archpkg
to getfetchurl
fromPKGBUILD
'ssource
? That isPKGBUILD
:will generate