aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: 784cbb4691d7cfcecb60e44aca55845341044f04 (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
# php-imagick-aur
An [AUR] package build for PHP's [imagick] extension.

## Building
You can of course build this package using [makepkg], but the recommended way
of building this package is using [Docker].  This can be done like so:

```bash
docker build --tag php-imagick-aur .
docker run --rm --volume "$(pwd):/package" php-imagick-aur
```

Alternatively, using [Fig]:

```bash
fig run build
```

This will start create a docker image tagged as php-imagick-aur and build the
package inside the container.  As a result you should get the built package in
your current directory.

[AUR]: https://aur.archlinux.org/
[imagick]: http://pecl.php.net/package/imagick
[makepkg]: https://wiki.archlinux.org/index.php/Makepkg
[Docker]: https://www.docker.com/
[Fig]: http://www.fig.sh/