void-packages/srcpkgs/buildah/template

31 lines
997 B
Bash

# Template file for 'buildah'
pkgname=buildah
version=1.37.0
revision=2
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 containers.storage containers-common"
short_desc="Dockerfile compatible OCI image building tool"
maintainer="Cameron Nemo <cam@nohom.org>"
license="Apache-2.0"
homepage="https://buildah.io/"
changelog="https://raw.githubusercontent.com/containers/buildah/main/CHANGELOG.md"
distfiles="https://github.com/containers/buildah/archive/refs/tags/v${version}.tar.gz"
checksum=f59adef68d88f21efc022f60c09cd084c4fd68a72f0282df09514fb0431069d9
post_build() {
make -C docs GOMD2MAN=go-md2man
}
post_install() {
vcompletion contrib/completions/bash/buildah bash
for _i in docs/*.1; do
vman $_i
done
}