mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
skopeo: update to 1.9.2
This commit is contained in:
parent
2a3ccc7c15
commit
b7a7341f90
1 changed files with 14 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'skopeo'
|
# Template file for 'skopeo'
|
||||||
pkgname=skopeo
|
pkgname=skopeo
|
||||||
version=1.7.0
|
version=1.9.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
|
build_helper=qemu
|
||||||
go_import_path="github.com/containers/${pkgname}"
|
go_import_path="github.com/containers/${pkgname}"
|
||||||
go_package="${go_import_path}/cmd/${pkgname}"
|
go_package="${go_import_path}/cmd/${pkgname}"
|
||||||
go_build_tags="containers_image_ostree_stub"
|
go_build_tags="containers_image_ostree_stub"
|
||||||
|
@ -10,20 +11,29 @@ hostmakedepends="go-md2man pkg-config"
|
||||||
makedepends="device-mapper-devel gpgme-devel libbtrfs-devel"
|
makedepends="device-mapper-devel gpgme-devel libbtrfs-devel"
|
||||||
depends="containers.image"
|
depends="containers.image"
|
||||||
short_desc="Utility for operations on container images and image repositories"
|
short_desc="Utility for operations on container images and image repositories"
|
||||||
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
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"
|
distfiles="https://github.com/containers/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=453bdcce16767696ed71046b60ad7b34358b183b50eb5aa708ced0b5ea2927b1
|
checksum=9a321ba75f213e5c46cba7f92073c2437137a56d3140c9ab6e723fb92890f9d0
|
||||||
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() {
|
||||||
vinstall completions/bash/skopeo 644 usr/share/bash-completion/completions
|
|
||||||
for m in docs/*.1; do
|
for m in docs/*.1; do
|
||||||
vman "$m"
|
vman "$m"
|
||||||
done
|
done
|
||||||
|
for shell in $_completions
|
||||||
|
do
|
||||||
|
vcompletion "completion.$shell" "$shell"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue