{"id":23318491,"url":"https://github.com/mcb2003/pkgbuild2json","last_synced_at":"2025-08-02T08:34:23.495Z","repository":{"id":94722946,"uuid":"284294888","full_name":"mcb2003/pkgbuild2json","owner":"mcb2003","description":"Parses and converts Arch Linux PKGBUILDS into JSON","archived":false,"fork":false,"pushed_at":"2020-08-01T16:21:30.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-22T07:03:54.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcb2003.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-01T16:15:33.000Z","updated_at":"2020-08-01T16:21:32.000Z","dependencies_parsed_at":"2023-03-07T19:15:35.241Z","dependency_job_id":null,"html_url":"https://github.com/mcb2003/pkgbuild2json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcb2003/pkgbuild2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb2003%2Fpkgbuild2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb2003%2Fpkgbuild2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb2003%2Fpkgbuild2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb2003%2Fpkgbuild2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcb2003","download_url":"https://codeload.github.com/mcb2003/pkgbuild2json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb2003%2Fpkgbuild2json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268355732,"owners_count":24237367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T17:17:11.166Z","updated_at":"2025-08-02T08:34:23.474Z","avatar_url":"https://github.com/mcb2003.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PKGBUILD to JSON\n\n## Introduction\n\nThis is a bash script that converts Arch Linux PKGBUILD files into a JSON structure, so it can be further processed or displayed.\nIt supports most PKGBUILD metadata fields, except the following:\n\n## Unsupported Fields\n\n* **Architecture specific** depends, makedepends, checkdepends, optdepends, checksums, etc.\n* Parsing package specifications (I.E. separating package name, version specifier and optional reason).\n* Parsing code in packaging functions (E.G. prepare, build, check, package, etc).\n* Split packages are only partially supported.\n\n## Dependencies\n\n* [jq](https://stedolan.github.io/jq/) - Command-line JSON processor.\n\n## WARNING!\n\nIn order to parse PKGBUILD files, this script sources them directly (PKGBUILD files are compliant bash scripts after all).\nBecause of this, a malicious PKGBUILD could be created that automatically executes code when it is parsed by this tool.\nPlease insure your PKGBUILDS are not malicious before passing them to this script!\n\n## Issues \u0026 Contributing\n\nPlease submit bug reports and feature requests using [the Github issue tracker](https://github.com/mcb2003/pkgbuild2json/issues).\nIf you'd like to submit a pull request to fix a bug, or add support for something in the list of [unsupported fields](#unsupported-fields),\nplease feel free! It would be appreciated if you open an [issue](https://github.com/mcb2003/pkgbuild2json/issues) or comment on an existing one before starting.\n\n## License\n\n\nCopyright (C) 2020  Michael Connor Buchan\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Lesser General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcb2003%2Fpkgbuild2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcb2003%2Fpkgbuild2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcb2003%2Fpkgbuild2json/lists"}