aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: c52fc1fc511995abd626ab6d270c7a888e858b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# GitHub Copilot Arch Linux Package

Local Arch Linux packaging for the official GitHub Copilot Debian build.

## Build

```bash
makepkg --verifysource
makepkg -Ccf
namcap PKGBUILD
namcap github-copilot-bin-*.pkg.tar.zst
```

## Install

```bash
sudo pacman -U ./github-copilot-bin-*.pkg.tar.zst
```

The upstream package installs these public commands:

- `/usr/bin/github`
- `/usr/bin/git-credential-copilot`

## Update

For a new upstream release:

1. Change `pkgver` in `PKGBUILD`.
2. Reset `pkgrel=1`.
3. Run `updpkgsums`.
4. Regenerate metadata:

   ```bash
   makepkg --printsrcinfo > .SRCINFO
   ```

5. Rebuild and run the checks above.

If only the Arch packaging changes, keep `pkgver` unchanged and increment
`pkgrel`.