diff options
-rw-r--r-- | testing/lxd/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/lxd/APKBUILD b/testing/lxd/APKBUILD index 1403172a77..4981ca9b8b 100644 --- a/testing/lxd/APKBUILD +++ b/testing/lxd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=lxd pkgver=3.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="a container hypervisor and a new user experience for LXC" url="https://linuxcontainers.org/lxd/" arch="all" @@ -54,14 +54,17 @@ package() { bashcomp() { depends="bash" pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + cd "$builddir" mkdir -p "$subpkgdir"/usr/share/bash-completion/completions - mv scripts/bash/lxd-client "$subpkgdir"/usr/share/bash-completion/completions/lxd-client + cp scripts/bash/lxd-client "$subpkgdir"/usr/share/bash-completion/completions/lxd-client } scripts() { pkgdesc="LXD scripts" depends="$pkgname python3 py3-lxc" + cd "$builddir" install -Dm755 scripts/lxc-to-lxd \ "$subpkgdir/usr/sbin/lxc-to-lxd" |