scancode-toolkit
scancode-toolkit copied to clipboard
Support rust makepkg’s .SRCINFO files
See https://docs.rs/srcinfo/latest/srcinfo/ This also seems similar to PKGBUILD files too, same attribute names.
Some other path patterns and related examples:
These also have often custom licenses which needs to be handled a bit specially: https://github.com/search?q=%22pkgbase%22+%22license+%3D+custom%22&type=code
Hi! I'd like to work on this issue.
My plan:
- Create SrcinfoHandler to parse .SRCINFO files from Arch Linux makepkg
- Support pkgbase and pkgname sections
- Extract name, version, dependencies, sources, checksums
- Handle architecture-specific fields (e.g., depends_x86_64)
- Add comprehensive tests with real AUR examples
- Submit PR
Is this still available?