void-packages/srcpkgs/buildah/template
2021-09-24 10:20:39 +02:00

30 lines
975 B
Bash

# Template file for 'buildah'
pkgname=buildah
version=1.23.0
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"
changelog="https://github.com/containers/buildah/blob/master/CHANGELOG.md"
distfiles="https://github.com/containers/buildah/archive/refs/tags/v${version}.tar.gz"
checksum=9c5c8df4ccfccd53e3170e18aea3255068547799d61dd36985273bb82563769c
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
}