Commit b498810f authored by Michał Polański's avatar Michał Polański Committed by Leo

community/skopeo: add -bash-completion subpackage

parent e4b96450
Pipeline #20887 failed with stages
in 20 seconds
......@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=skopeo
pkgver=0.2.0
pkgrel=1
pkgrel=2
pkgdesc="Work with remote images registries - retrieving information, images, signing content"
url="https://github.com/containers/skopeo"
arch="all !mips !mips64" # FTBFS on mips
......@@ -18,6 +18,7 @@ makedepends="
ostree-dev
libselinux-dev
"
subpackages="$pkgname-bash-completion"
source="skopeo-$pkgver.tar.gz::https://github.com/containers/skopeo/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/github.com/containers/$pkgname"
......@@ -43,6 +44,8 @@ package() {
"$pkgdir"/etc/containers/policy.json
install -Dm644 "$builddir"/default.yaml \
"$pkgdir"/etc/containers/registries.d/default.yaml
install -Dm644 "$builddir"/completions/bash/$pkgname \
"$pkgdir"/usr/share/bash-completion/completions/$pkgname
}
cleanup_srcdir() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment