{"id":16582957,"url":"https://github.com/heyhusen/archlinux-package-action","last_synced_at":"2026-01-17T08:43:08.446Z","repository":{"id":40322297,"uuid":"367386435","full_name":"heyhusen/archlinux-package-action","owner":"heyhusen","description":"GitHub Action to run Arch Linux's package tools","archived":false,"fork":false,"pushed_at":"2024-09-08T09:02:25.000Z","size":96,"stargazers_count":31,"open_issues_count":3,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-27T13:40:51.783Z","etag":null,"topics":["archlinux","aur","github-actions","makepkg","pkgbuild"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/arch-linux-s-package-action","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heyhusen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-14T14:23:10.000Z","updated_at":"2025-02-05T21:37:07.000Z","dependencies_parsed_at":"2024-06-18T21:42:18.541Z","dependency_job_id":null,"html_url":"https://github.com/heyhusen/archlinux-package-action","commit_stats":{"total_commits":71,"total_committers":5,"mean_commits":14.2,"dds":"0.43661971830985913","last_synced_commit":"bc32e723f3d2f521fed81ffa417fffd009572031"},"previous_names":["heyhusen/archlinux-package-action","hapakaien/archlinux-package-action"],"tags_count":14,"template":false,"template_full_name":"actions/container-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyhusen%2Farchlinux-package-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyhusen%2Farchlinux-package-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyhusen%2Farchlinux-package-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyhusen%2Farchlinux-package-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heyhusen","download_url":"https://codeload.github.com/heyhusen/archlinux-package-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830922,"owners_count":20354850,"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":["archlinux","aur","github-actions","makepkg","pkgbuild"],"created_at":"2024-10-11T22:34:36.954Z","updated_at":"2026-01-17T08:43:08.433Z","avatar_url":"https://github.com/heyhusen.png","language":"Shell","readme":"# Arch Linux's package tools action\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/heyhusen/archlinux-package-action/main.yml?style=flat-square\u0026label=CI)](https://github.com/heyhusen/archlinux-package-action/actions) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/heyhusen/archlinux-package-action?style=flat-square)](https://github.com/heyhusen/archlinux-package-action/releases) [![GitHub](https://img.shields.io/github/license/heyhusen/archlinux-package-action?style=flat-square)](./LICENSE)\n\nThis action allows running tools needed for creating Arch Linux (and AUR) package.\nHere's what this action can do:\n\n- Update `pkgver`, `pkgrel`, or checksums on PKGBUILD file\n- Validate PKGBUILD with [namcap](https://wiki.archlinux.org/title/namcap)\n- Generate [.SRCINFO](https://wiki.archlinux.org/title/.SRCINFO) based on your PKGBUILD\n- Run [makepkg](https://wiki.archlinux.org/title/Makepkg) with custom flags (rather than default)\n\n## Usage\n\n### Requirement\n\n- [PKGBUILD](https://wiki.archlinux.org/title/PKGBUILD) file inside your repository.\n- Use [actions/checkout](https://github.com/actions/checkout) in previous step. This is important, unless you want your [$GITHUB_WORKSPACE](https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables) folder to be empty.\n\n### Customizing\n\nFollowing inputs can be used as `step.with` keys\n\n| Name                       | Type    | Default                       | Required | Description                                                                      |\n|----------------------------|---------|-------------------------------|----------|----------------------------------------------------------------------------------|\n| `path`                     | String  |                               | `false`  | Path where PKGBUILD is located. This path always located under $GITHUB_WORKSPACE |\n| `pkgver`                   | String  |                               | `false`  | Update `pkgver` on your PKGBUILD                                                 |\n| `pkgrel`                   | Integer |                               | `false`  | Update `pkgrel` on your PKGBUILD                                                 |\n| `updpkgsums`               | Boolean | `false`                       | `false`  | Update checksums on your PKGBUILD                                                |\n| `srcinfo`                  | Boolean | `false`                       | `false`  | Generate new .SRCINFO                                                            |\n| `namcap`                   | Boolean | `true`                        | `false`  | Validate PKGBUILD                                                                |\n| `flags`                    | String  | `-cfs --noconfirm`            | `false`  | Flags after `makepkg` command. Leave this empty will disable this command.       |\n| `aur`                      | Boolean | `false`                       | `false`  | Resolve dependencies using yay                                                   |\n| `update_archlinux_keyring` | Boolean | `true`                        | `false`  | Update the archlinux keyring                                                     |\n| `pgpkeys`                  | String  |                               | `false`  | Comma-separated PGP public keys to be loaded before calling makepkg.             |\n| `pgpkeyserver`             | String  | `hkps://keyserver.ubuntu.com` | `false`  | PGP key server address.                                                          |\n\n### Examples\n\n#### 1. Basic\n\nThis action will run `makepkg -cfs --noconfirm` command, then validate PKGBUILD with namcap.\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Validate package\n        uses: heyhusen/archlinux-package-action@v3\n```\n\n#### 2. Only generate .SRCINFO\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Validate package\n        uses: heyhusen/archlinux-package-action@v3\n        with:\n          flags: ''\n          namcap: false\n          srcinfo: true\n```\n\n#### 3. Only update checksums on PKGBUILD\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Validate package\n        uses: heyhusen/archlinux-package-action@v3\n        with:\n          flags: ''\n          namcap: false\n          updpkgsums: true\n```\n\n#### 4. Custom path \u0026 custom flags\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Validate package\n        uses: heyhusen/archlinux-package-action@v3\n        with:\n          path: package\n          flags: '-si --noconfirm'\n          namcap: false\n```\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyhusen%2Farchlinux-package-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheyhusen%2Farchlinux-package-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyhusen%2Farchlinux-package-action/lists"}