{"id":15475218,"url":"https://github.com/ffy00/build-arch-package","last_synced_at":"2025-09-11T18:32:53.495Z","repository":{"id":42655482,"uuid":"255929300","full_name":"FFY00/build-arch-package","owner":"FFY00","description":"Build an Arch Linux package","archived":false,"fork":false,"pushed_at":"2023-04-10T17:35:18.000Z","size":24,"stargazers_count":18,"open_issues_count":1,"forks_count":12,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-28T02:16:15.990Z","etag":null,"topics":["arch","arch-linux","archlinux","ci","github-actions","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FFY00.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-04-15T13:43:42.000Z","updated_at":"2024-12-22T08:25:30.000Z","dependencies_parsed_at":"2024-06-19T00:17:54.595Z","dependency_job_id":"e5273564-399c-4ebc-a329-566ff46b1d57","html_url":"https://github.com/FFY00/build-arch-package","commit_stats":{"total_commits":12,"total_committers":4,"mean_commits":3.0,"dds":0.5,"last_synced_commit":"b5ebd11c5dfe515aeafcad2c8e8f066b3017690c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fbuild-arch-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fbuild-arch-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fbuild-arch-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fbuild-arch-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FFY00","download_url":"https://codeload.github.com/FFY00/build-arch-package/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232659194,"owners_count":18557024,"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","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":["arch","arch-linux","archlinux","ci","github-actions","hacktoberfest"],"created_at":"2024-10-02T03:08:57.165Z","updated_at":"2025-01-06T01:09:47.038Z","avatar_url":"https://github.com/FFY00.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Arch Linux package Github Action\r\n\r\n```yaml\r\njobs:\r\n  my-job:\r\n    ...\r\n    container:\r\n      image: archlinux\r\n      options: --privileged\r\n    steps:\r\n      ...\r\n      - name: Build Arch Linux package\r\n        uses: FFY00/build-arch-package@v1\r\n        with:\r\n          PKGBUILD: path/to/my/PKGBUILD\r\n      ...\r\n```\r\n\r\n`%COMMIT%` in the PKGBUILD will be replaced by the commit that triggered the action.\r\n\r\nSee [.github/workflows/test.yml](.github/workflows/test.yml) for a working example.\r\n\r\n### Arguments\r\n\r\nKey            | Description                                 | Required | Default Value\r\n-------------- | ------------------------------------------- |:--------:| -------------\r\n`PKGBUILD`     | PKGBUILD path                               | **Yes**  |\r\n`BUILD_SCRIPT` | Pacman configuration file used              | No       | `extra-x86_64-build`\r\n`OUTDIR`       | Output directory to store the built package | No       | `$HOME/arch-packages`\r\n\r\n\r\nSee：[DeveloperWiki:Building_in_a_clean_chroot](https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot)\r\n\r\nTarget repository         | Architecture | Build script to use    | Pacman configuration file used\r\n-------------------------:|-------------:|-----------------------:|-------------------------------\r\nextra/community           | x86_64       | extra-x86_64-build     | /usr/share/devtools/pacman-extra.conf\r\ntesting/community-testing | x86_64       | testing-x86_64-build   | /usr/share/devtools/pacman-testing.conf\r\nstaging/community-staging | x86_64       | staging-x86_64-build   | /usr/share/devtools/pacman-staging.conf\r\nmultilib                  | x86_64       | multilib-build         | /usr/share/devtools/pacman-multilib.conf\r\nmultilib-testing          | x86_64       | multilib-testing-build | /usr/share/devtools/pacman-multilib-testing.conf\r\nmultilib-staging          | x86_64       | multilib-staging-build | /usr/share/devtools/pacman-multilib-staging.conf\r\n\r\n###### You can use environment variable names in the options, they will be resolved.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffy00%2Fbuild-arch-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffy00%2Fbuild-arch-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffy00%2Fbuild-arch-package/lists"}