blob: f68d984d53718e0f3bb0580bf790e6fff98ee381 (
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
42
43
|
# anycable-go
AnyCable WebSocket Server written in Go.
## Upgrading
1. Change version and checksum in `PKGBUILD` according to git tag and source code archive checksum published in https://github.com/anycable/anycable-go/releases/
2. Update `.SRCINFO` file:
```sh
makepkg --printsrcinfo > .SRCINFO
```
3. Build package
```sh
makepkg --syncdeps
```
4. Commit and push changes
## Testing build in Docker
In case if you don't have Arch by hand.
1. Build docker image
```sh
docker build -t aur-builder .
```
2. Run shell in container:
```sh
docker run --rm -it -v $(pwd):/home/aur -u $(id -u) aur-builder sh
```
3. Run `makepkg` in it as usual:
```sh
makepkg --printsrcinfo > .SRCINFO
makepkg --syncdeps
```
|