void-packages/srcpkgs/buildah/template
2020-05-18 13:11:38 +02:00

34 lines
1 KiB
Bash

# Template file for 'buildah'
pkgname=buildah
version=1.14.9
revision=1
build_style=go
go_import_path=github.com/containers/buildah
go_package="${go_import_path}/cmd/buildah"
go_build_tags=containers_image_ostree_stub
hostmakedepends="pkg-config go-md2man"
makedepends="libostree-devel libbtrfs-devel device-mapper-devel gpgme-devel
libassuan-devel libseccomp-devel"
depends="runc containers.image"
short_desc="Dockerfile compatible OCI image building tool"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="Apache-2.0"
homepage="https://github.com/containers/buildah"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=fa084af683a9f91bdc0fe24077ad56ec1bc9f4f98445ddcba4e0796710281adf
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
broken="invalid operation: st.Type == _cgroup2SuperMagic (mismatched types int32 and int64)"
fi
post_build() {
make -C docs GOMD2MAN=go-md2man
}
post_install() {
vinstall contrib/completions/bash/buildah 644 /usr/share/bash-completion/completions
for _i in docs/*.1; do
vman $_i
done
}