diff options
author | Mark Wagie | 2020-07-13 15:44:56 -0600 |
---|---|---|
committer | Mark Wagie | 2020-07-13 15:44:56 -0600 |
commit | 5cd7e96c6b53a80704300fffd3c3f0a59df58b96 (patch) | |
tree | 5fa4472611f8a75dd433fb01a90785e35983636f | |
parent | 1ac8c2c0647c21cf07cacc4ca10d05403aca374b (diff) | |
download | aur-5cd7e96c6b53a80704300fffd3c3f0a59df58b96.tar.gz |
install zsh completion to doc
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = cheat pkgdesc = Allows you to create and view interactive cheatsheets on the command-line pkgver = 4.0.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cheat/cheat arch = any license = MIT @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> pkgname=cheat pkgver=4.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('any') url="https://github.com/cheat/cheat" @@ -52,7 +52,11 @@ package() { install -Dm755 "scripts/$pkgname.bash" \ "$pkgdir/usr/share/bash-completion/completions/$pkgname" install -Dm755 "scripts/$pkgname.fish" -t "$pkgdir/usr/share/fish/completions" + + # Conflicts with zsh-suggestions, copy or symlink from the doc folder # install -Dm755 "scripts/$pkgname.zsh" "$pkgdir/usr/share/zsh/site-functions/_$pkgname" + install -Dm755 "scripts/$pkgname.zsh" "$pkgdir/usr/share/doc/$pkgname/_$pkgname" + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/$pkgname-LICENSE" install -Dm644 "doc/$pkgname.1" -t "$pkgdir/usr/share/man/man1" |