void-packages/srcpkgs/buildah/template
2019-06-19 19:00:43 +02:00

30 lines
904 B
Bash

# Template file for 'buildah'
pkgname=buildah
version=1.9.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 skopeo 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=0cba1e25bb3361f1dca160784b12fe45ab77e5b5252617f98e861b337a964dde
post_build() {
make -C docs
}
post_install() {
vinstall contrib/completions/bash/buildah 644 /usr/share/bash-completion/completions
for _i in docs/*.1; do
vman $_i
done
vlicense LICENSE
}