30 lines
919 B
Bash
30 lines
919 B
Bash
# Template file for 'skopeo'
|
|
pkgname=skopeo
|
|
version=1.0.0
|
|
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="Cameron Nemo <cnemo@tutanota.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/containers/skopeo"
|
|
distfiles="https://github.com/containers/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=df5f38ee72e2fede508d1fd272a48773b86eb6bc6cc4b7b856a99669d22fa5df
|
|
make_dirs="/var/lib/atomic/sigstore 0755 root root"
|
|
|
|
post_build() {
|
|
make docs
|
|
}
|
|
|
|
post_install() {
|
|
vinstall completions/bash/skopeo 644 usr/share/bash-completion/completions
|
|
for m in docs/*.1; do
|
|
vman "$m"
|
|
done
|
|
}
|