Commit 7450c6a7 authored by Leo's avatar Leo

testing/sd: remove shell completion definition

parent 8ad278e7
......@@ -11,9 +11,10 @@ options="net"
makedepends="cargo"
source="$pkgname-$pkgver.tar.gz::https://github.com/chmln/sd/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-fish-completion:fishcomp:noarch"
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
"
export CARGO_HOME="$srcdir"/cargo
......@@ -45,31 +46,4 @@ package() {
-exec install -Dm644 {} "$pkgdir"/usr/share/zsh/site-functions/"_$pkgname" \;
}
bashcomp() {
depends=""
pkgdesk="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/
}
fishcomp() {
depends=""
pkgdesc="Fish completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel fish"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/fish "$subpkgdir"/usr/share/
}
zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/zsh "$subpkgdir"/usr/share
}
sha512sums="7b4b91e274c4fec5405fc551046fd0db1879f6b6c77ced56d81c83a853e9c10942f80faf2a7aca549b86ed4b57117e8796ef7900d613a809bf34840f218759ac sd-0.6.5.tar.gz"
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