2018-08-02 15:31:16 +02:00
|
|
|
# Template file for 'skopeo'
|
|
|
|
pkgname=skopeo
|
|
|
|
version=0.1.31
|
2018-08-20 11:33:48 +02:00
|
|
|
revision=2
|
2018-08-02 15:31:16 +02:00
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/projectatomic/${pkgname}"
|
|
|
|
go_package="${go_import_path}/cmd/${pkgname}"
|
|
|
|
hostmakedepends="go-md2man pkg-config"
|
|
|
|
makedepends="device-mapper-devel gpgme-devel libbtrfs-devel libostree-devel"
|
|
|
|
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=f41121044ddca07afa63788302caf3582a653269c9601f7528003693d9807726
|
2018-08-20 11:33:48 +02:00
|
|
|
make_dirs="/var/lib/atomic/sigstore 0755 root root"
|
2018-08-02 15:31:16 +02:00
|
|
|
|
2018-08-20 11:33:48 +02:00
|
|
|
post_build() {
|
2018-08-02 15:31:16 +02:00
|
|
|
go-md2man -in docs/skopeo.1.md -out docs/skopeo.1
|
2018-08-20 11:33:48 +02:00
|
|
|
}
|
2018-08-02 15:31:16 +02:00
|
|
|
|
2018-08-20 11:33:48 +02:00
|
|
|
post_install() {
|
|
|
|
vman docs/skopeo.1
|
2018-08-02 15:31:16 +02:00
|
|
|
vinstall completions/bash/skopeo 644 usr/share/bash-completion/completions
|
2018-08-20 11:33:48 +02:00
|
|
|
vmkdir etc/containers
|
|
|
|
vinstall default-policy.json 644 etc/containers policy.json
|
|
|
|
vmkdir etc/containers/registries.d
|
|
|
|
vinstall default.yaml 644 etc/containers/registries.d
|
2018-08-02 15:31:16 +02:00
|
|
|
}
|