buildah: use registries.conf from containers.image
This commit is contained in:
parent
fde95c6adf
commit
e35bea7257
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'buildah'
|
# Template file for 'buildah'
|
||||||
pkgname=buildah
|
pkgname=buildah
|
||||||
version=1.8.2
|
version=1.8.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/containers/buildah
|
go_import_path=github.com/containers/buildah
|
||||||
go_package="${go_import_path}/cmd/buildah"
|
go_package="${go_import_path}/cmd/buildah"
|
||||||
|
@ -9,25 +9,20 @@ go_build_tags=containers_image_ostree_stub
|
||||||
hostmakedepends="pkg-config go-md2man"
|
hostmakedepends="pkg-config go-md2man"
|
||||||
makedepends="libostree-devel libbtrfs-devel device-mapper-devel gpgme-devel
|
makedepends="libostree-devel libbtrfs-devel device-mapper-devel gpgme-devel
|
||||||
libassuan-devel libseccomp-devel"
|
libassuan-devel libseccomp-devel"
|
||||||
depends="runc skopeo"
|
depends="runc skopeo containers.image"
|
||||||
short_desc="OCI image building tool"
|
short_desc="Dockerfile compatible OCI image building tool"
|
||||||
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/containers/buildah"
|
homepage="https://github.com/containers/buildah"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=2a659687210fd1219c73e2d35e87caadb9e06f12e08973c18058d073fe8ecfb7
|
checksum=2a659687210fd1219c73e2d35e87caadb9e06f12e08973c18058d073fe8ecfb7
|
||||||
|
|
||||||
case "$XBPS_TARGET_ARCH" in
|
|
||||||
*-musl) broken="/lib/libmount.so.1: undefined reference to getrandom" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
make -C docs
|
make -C docs
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall contrib/completions/bash/buildah 644 /usr/share/bash-completion/completions
|
vinstall contrib/completions/bash/buildah 644 /usr/share/bash-completion/completions
|
||||||
vinstall tests/registries.conf 644 /etc/containers
|
|
||||||
for _i in docs/*.1; do
|
for _i in docs/*.1; do
|
||||||
vman $_i
|
vman $_i
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue