2018-11-25 20:49:00 +01:00
|
|
|
# Template file for 'buildah'
|
|
|
|
pkgname=buildah
|
2019-02-27 04:41:22 +01:00
|
|
|
version=1.7.1
|
2019-01-18 04:10:25 +01:00
|
|
|
revision=1
|
2018-11-25 20:49:00 +01:00
|
|
|
build_style=go
|
2019-01-19 02:12:29 +01:00
|
|
|
go_import_path=github.com/containers/buildah
|
2018-11-25 20:49:00 +01:00
|
|
|
go_package="${go_import_path}/cmd/buildah"
|
2019-01-19 02:12:29 +01:00
|
|
|
go_build_tags=containers_image_ostree_stub
|
2018-11-25 20:49:00 +01:00
|
|
|
hostmakedepends="pkg-config go-md2man"
|
|
|
|
makedepends="libostree-devel libbtrfs-devel device-mapper-devel gpgme-devel
|
|
|
|
libassuan-devel libseccomp-devel"
|
|
|
|
depends="runc skopeo"
|
2019-01-18 04:10:25 +01:00
|
|
|
short_desc="OCI image building tool"
|
2018-11-25 20:49:00 +01:00
|
|
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/containers/buildah"
|
|
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
2019-02-27 04:41:22 +01:00
|
|
|
checksum=83f3b4bfa7dd43162b6b3edb209cfd8d313d7a28eb202e8fecaf6e2d231ec550
|
2018-11-25 20:49:00 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|