aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: 0d4614bfd62534d726959049686f99a54cbaa5a9 (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
```sh
$ git remote add origin ssh://aur@aur.archlinux.org/gosqlapi.git
```

```sh
$ makepkg --printsrcinfo > .SRCINFO
```

To upgrade the version of your AUR package, follow these steps:

1. Edit your PKGBUILD file:
   - Change the `pkgver` variable to the new version.
   - Update the `source` URL if it includes the version number.
   - Update the `sha256sums` to match the new source tarball (or use 'SKIP' for testing).
2. Regenerate the `.SRCINFO` file:
   ```
   makepkg --printsrcinfo > .SRCINFO
   ```
3. Build and test the package:
   ```
   makepkg -si
   ```
4. Commit your changes:
   ```
   git add PKGBUILD .SRCINFO
   git commit -m "Upgrade to version x.y.z"
   ```
5. Push to the AUR:
   ```
   git push origin master
   ```