blob: c319dde6a932de1133fee1f5d1c058ee0170ff68 (
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
|
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=podman
pkgver=1.7.0
pkgrel=3
pkgdesc="Simple management tool for pods, containers, and images"
url="https://podman.io/"
options="!check" # TODO: enable tests
arch="all"
license="Apache-2.0"
depends="conmon cni-plugins runc iptables ip6tables"
makedepends="go gpgme-dev libseccomp-dev libassuan-dev go-md2man btrfs-progs-dev bash"
subpackages="$pkgname-doc
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/containers/libpod/archive/v$pkgver.tar.gz
libpod-config.patch"
builddir="$srcdir/libpod-$pkgver"
build() {
unset LDFLAGS
make podman PREFIX=/usr
}
package() {
unset LDFLAGS
make install.bin install.man install.cni install.config \
PREFIX=/usr DESTDIR="$pkgdir"
}
bashcomp() {
pkgdesc="Bash completions for $pkgname"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
install -Dm644 "$builddir"/completions/bash/$pkgname \
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
}
zshcomp() {
pkgdesc="Zsh completions for $pkgname"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel zsh"
install -Dm644 "$builddir"/completions/zsh/_$pkgname \
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
}
sha512sums="986ec7123127d3ffb26cecc39a2ae3d8a6dd3d147327449fc4e9d17f6e6606bde278f13920d0aef59410262801251e7b4cfe099cb5caafe9773533e8476848fe podman-1.7.0.tar.gz
fb0997502e996ed0b1e99b11970380d4e7a61ab1aa0bf54ec925edd7defbbe2fec67f4cb28ab4a6f0de4ba770ca11c952893a35a0c71f10bd2c3d19f3c836803 libpod-config.patch"
|