void-packages/srcpkgs/skopeo/template
Cameron Nemo 323c827e23 skopeo: update to 0.1.39.
skopeo: use containers.image policy.json
2019-08-09 08:56:05 +02:00

27 lines
940 B
Bash

# Template file for 'skopeo'
pkgname=skopeo
version=0.1.39
revision=1
build_style=go
go_import_path="github.com/containers/${pkgname}"
go_package="${go_import_path}/cmd/${pkgname}"
go_build_tags="containers_image_ostree_stub"
hostmakedepends="go-md2man pkg-config"
makedepends="device-mapper-devel gpgme-devel libbtrfs-devel"
depends="containers.image"
short_desc="Utility for operations on container images and image repositories"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="Apache-2.0"
homepage="https://github.com/containers/skopeo"
distfiles="https://github.com/containers/${pkgname}/archive/v${version}.tar.gz"
checksum=e9d70f7f7b891675a816f06a22df0490285ad20eefbd91f5da69ca12f56c29f2
make_dirs="/var/lib/atomic/sigstore 0755 root root"
post_build() {
go-md2man -in docs/skopeo.1.md -out docs/skopeo.1
}
post_install() {
vman docs/skopeo.1
vinstall completions/bash/skopeo 644 usr/share/bash-completion/completions
}