35 lines
1008 B
Bash
35 lines
1008 B
Bash
# Template file for 'buildah'
|
|
pkgname=buildah
|
|
version=1.5
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/containers/buildah"
|
|
go_package="${go_import_path}/cmd/buildah"
|
|
hostmakedepends="pkg-config go-md2man"
|
|
makedepends="libostree-devel libbtrfs-devel device-mapper-devel gpgme-devel
|
|
libassuan-devel libseccomp-devel"
|
|
depends="runc skopeo"
|
|
short_desc="A tool that facilitates building OCI images"
|
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/containers/buildah"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=7da4226c0e1d4d6a925bb0d1ee565530c560e955a479ba26f8d4fe87c8004f51
|
|
|
|
case "$XBPS_TARGET_ARCH" in
|
|
*-musl) broken="/lib/libmount.so.1: undefined reference to getrandom" ;;
|
|
esac
|
|
|
|
post_build() {
|
|
make -C docs
|
|
}
|
|
|
|
post_install() {
|
|
vinstall contrib/completions/bash/buildah 644 /usr/share/bash-completion/completions
|
|
vinstall tests/registries.conf 644 /etc/containers
|
|
for _i in docs/*.1; do
|
|
vman $_i
|
|
done
|
|
vlicense LICENSE
|
|
}
|