blob: da026b9f2a069f2f4802df08f1c5a946dbf3df36 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#!/bin/mkpkg
# description: Daemonless container engine for OCI containers
# url: https://podman.io/
name=podman
version=6.1.2
release=1
depends=(crun conmon netavark aardvark-dns passt catatonit
containers-common nftables libseccomp shadow)
makedeps=(go)
source=(https://github.com/containers/$name/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)
sha256sums=(
"a4b2b10bd560cf9b4c50c282bd04bb74486ff6c78bebd51427f779fe985fc1bb"
)
build() {
cd $name-$version
export GOPATH="$SRC/go"
export GOFLAGS="-trimpath -v"
export BUILDTAGS="exclude_graphdriver_btrfs \
exclude_graphdriver_devicemapper \
containers_image_openpgp \
seccomp"
make \
PREFIX=/usr \
HELPER_BINARIES_DIR=/usr/libexec/podman \
BUILDTAGS="$BUILDTAGS" \
podman rootlessport
make docker-docs
install -Dm755 bin/podman $PKG/usr/bin/podman
ln -sf podman $PKG/usr/bin/podmansh
install -Dm755 bin/rootlessport $PKG/usr/libexec/podman/rootlessport
install -d $PKG/etc
touch $PKG/etc/subuid $PKG/etc/subgid
# man pages
mandir="$PKG/usr/share/man"
for f in docs/build/man/podman*.1 docs/build/man/podmansh.1; do
install -Dm644 "$f" "$mandir/man1/$(basename $f)"
done
for f in docs/build/man/podman-rootless.7 docs/build/man/podman-troubleshooting.7; do
install -Dm644 "$f" "$mandir/man7/$(basename $f)"
done
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|