Update Usage.md

Foster Hangdaan 2024-10-23 07:41:21 -04:00
parent b52f5e4505
commit 84482b69b8
Signed by: foster
GPG key ID: E48D7F49A852F112

@ -6,10 +6,12 @@ to build Arch Linux packages.
## Prerequisites
Install an
[OCI](https://en.wikipedia.org/wiki/Open_Container_Initiative)-compliant
container management tool: [Podman](https://podman.io/) or
[Docker](https://www.docker.com/). The examples will be using Podman.
- Install an
[OCI](https://en.wikipedia.org/wiki/Open_Container_Initiative)-compliant
container management tool: [Podman](https://podman.io/) or
[Docker](https://www.docker.com/). The examples will be using Podman.
- Existing `PKGBUILD` file for use by `makepkg`. This will be stored in the
`./pkg/PKGBUILD` in the examples.
## Running the Container
@ -26,9 +28,8 @@ container management tool: [Podman](https://podman.io/) or
podman run --rm -v ./my-pkg:/pkg:ro -v ./build:/build code.fosterhangdaan.com/foster/arch-packaging-container:latest
```
The `my-pkg` folder should contain the `makepkg` files such as `PKGBUILD`
(see [Volumes](Volumes)). When the build is finished, the compressed package
will be stored in `build/packages`.
When the build is finished, the compressed package will be stored in
`build/packages`.
### Rust