mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
skopeo: update to 1.16.0
This commit is contained in:
parent
b4a26eb6d7
commit
b913532e91
1 changed files with 10 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'skopeo'
|
# Template file for 'skopeo'
|
||||||
pkgname=skopeo
|
pkgname=skopeo
|
||||||
version=1.10.0
|
version=1.16.0
|
||||||
revision=4
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
go_import_path="github.com/containers/${pkgname}"
|
go_import_path="github.com/containers/skopeo"
|
||||||
go_package="${go_import_path}/cmd/${pkgname}"
|
go_package="${go_import_path}/cmd/skopeo"
|
||||||
go_build_tags="containers_image_ostree_stub"
|
go_build_tags="containers_image_ostree_stub"
|
||||||
hostmakedepends="go-md2man pkg-config"
|
hostmakedepends="go-md2man pkg-config"
|
||||||
makedepends="device-mapper-devel gpgme-devel libbtrfs-devel"
|
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>"
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/containers/skopeo"
|
homepage="https://github.com/containers/skopeo"
|
||||||
distfiles="https://github.com/containers/${pkgname}/archive/v${version}.tar.gz"
|
changelog="https://github.com/containers/skopeo/releases"
|
||||||
checksum=c3d15ec25c028980b795a0ccdcd48296287b8467fe24a7bc319f5fc87378fe8c
|
distfiles="https://github.com/containers/skopeo/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=fed91fd067605460ef33431163227471b1e85c8768203fc393345d6ffd645448
|
||||||
make_dirs="/var/lib/atomic/sigstore 0755 root root"
|
make_dirs="/var/lib/atomic/sigstore 0755 root root"
|
||||||
_completions="bash zsh fish"
|
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
make docs
|
make docs
|
||||||
local cli=$(find $GOPATH/bin -name skopeo)
|
|
||||||
for shell in $_completions
|
|
||||||
do
|
|
||||||
vtargetrun "$cli" completion "$shell" >"completion.$shell"
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for m in docs/*.1; do
|
for m in docs/*.1; do
|
||||||
vman "$m"
|
vman "$m"
|
||||||
done
|
done
|
||||||
for shell in $_completions
|
for shell in bash fish zsh; do
|
||||||
do
|
vtargetrun "${DESTDIR}/usr/bin/skopeo" completion "${shell}" > "skopeo.${shell}"
|
||||||
vcompletion "completion.$shell" "$shell"
|
vcompletion "skopeo.${shell}" "${shell}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue