skopeo: update to 1.16.0
This commit is contained in:
parent
b4a26eb6d7
commit
b913532e91
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'skopeo'
|
||||
pkgname=skopeo
|
||||
version=1.10.0
|
||||
revision=4
|
||||
version=1.16.0
|
||||
revision=1
|
||||
build_style=go
|
||||
build_helper=qemu
|
||||
go_import_path="github.com/containers/${pkgname}"
|
||||
go_package="${go_import_path}/cmd/${pkgname}"
|
||||
go_import_path="github.com/containers/skopeo"
|
||||
go_package="${go_import_path}/cmd/skopeo"
|
||||
go_build_tags="containers_image_ostree_stub"
|
||||
hostmakedepends="go-md2man pkg-config"
|
||||
makedepends="device-mapper-devel gpgme-devel libbtrfs-devel"
|
||||
|
@ -14,26 +14,21 @@ short_desc="Utility for operations on container images and image repositories"
|
|||
maintainer="Cameron Nemo <cam@nohom.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/containers/skopeo"
|
||||
distfiles="https://github.com/containers/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=c3d15ec25c028980b795a0ccdcd48296287b8467fe24a7bc319f5fc87378fe8c
|
||||
changelog="https://github.com/containers/skopeo/releases"
|
||||
distfiles="https://github.com/containers/skopeo/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=fed91fd067605460ef33431163227471b1e85c8768203fc393345d6ffd645448
|
||||
make_dirs="/var/lib/atomic/sigstore 0755 root root"
|
||||
_completions="bash zsh fish"
|
||||
|
||||
post_build() {
|
||||
make docs
|
||||
local cli=$(find $GOPATH/bin -name skopeo)
|
||||
for shell in $_completions
|
||||
do
|
||||
vtargetrun "$cli" completion "$shell" >"completion.$shell"
|
||||
done
|
||||
}
|
||||
|
||||
post_install() {
|
||||
for m in docs/*.1; do
|
||||
vman "$m"
|
||||
done
|
||||
for shell in $_completions
|
||||
do
|
||||
vcompletion "completion.$shell" "$shell"
|
||||
for shell in bash fish zsh; do
|
||||
vtargetrun "${DESTDIR}/usr/bin/skopeo" completion "${shell}" > "skopeo.${shell}"
|
||||
vcompletion "skopeo.${shell}" "${shell}"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue