aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: d2e334808857b0a6af4936a98fa3f2c36594453d (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
# imgproxy

Fast and secure standalone server for resizing and converting remote images

## Upgrading

 1. Change version and checksum in `PKGBUILD` according to git tag and source code archive checksum published in https://github.com/imgproxy/imgproxy/releases

 2. Update `.SRCINFO` file:

    ```sh
    makepkg --printsrcinfo > .SRCINFO
    ```
 3. Build package

    ```sh
    makepkg
    ```

 4. Commit and push changes

## Testing build in Docker

In case if you don't have ArchLinux machine available at moment.

 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
    ```