diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-04-13 07:24:30 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-13 10:42:02 +0000 |
commit | 4561c5130342208159ce2b2cb1f491e65e8541fe (patch) | |
tree | d36ecc068bf214980b9e7726934ea116dfd63d31 /community/nvme-cli | |
parent | abab7b8cf7662480078a1a277670d3aa5b5e1719 (diff) | |
download | aports-4561c5130342208159ce2b2cb1f491e65e8541fe.tar.bz2 aports-4561c5130342208159ce2b2cb1f491e65e8541fe.tar.xz |
community/nvme-cli: move zsh-completion files instead of copying
Diffstat (limited to 'community/nvme-cli')
-rw-r--r-- | community/nvme-cli/APKBUILD | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/community/nvme-cli/APKBUILD b/community/nvme-cli/APKBUILD index 3941f243c8..cf456fd3ac 100644 --- a/community/nvme-cli/APKBUILD +++ b/community/nvme-cli/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Florian Heigl <florian.heigl@gmail.com> pkgname=nvme-cli pkgver=1.10.1 -pkgrel=1 +pkgrel=2 pkgdesc="NVM-Express user space tooling for Linux" options="!check" # Requires nose2 arch="all" @@ -32,10 +32,7 @@ bashcomp() { pkgdesc="Bash completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - mkdir -p "$subpkgdir"/usr/share/bash-completion/completions - mv "$pkgdir"/usr/share/bash-completion/completions/nvme \ - "$subpkgdir"/usr/share/bash-completion/completions/$pkgname - rmdir "$pkgdir"/usr/share/bash-completion/completions + amove usr/share/bash-completion/completions } zshcomp() { @@ -43,8 +40,7 @@ zshcomp() { pkgdesc="Zsh compltions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel zsh" - install -Dm644 "$builddir"/completions/_nvme \ - "$subpkgdir"/usr/share/zsh/site-functions/_nvme + amove usr/share/zsh/site-functions } sha512sums="92bef073205b357f4b14ba929b7f261d0c18b343e5e244cefc24521dfc581dec4b941a13dc00f9a3b4d938ccd026c847d58ccfd75f813cc3c4f484f8316269dc nvme-cli-1.10.1.tar.gz |