diff options
author | Mark Wagie | 2020-07-13 15:46:52 -0600 |
---|---|---|
committer | Mark Wagie | 2020-07-13 15:46:52 -0600 |
commit | 8d27594dfcea8886041bc07577289075e5cfb4bb (patch) | |
tree | 4befc700e376802e54c32b59581cdb8307c51874 | |
parent | 0fcdc945db3ad630b3dbca20ce0afecb03f5dd02 (diff) | |
download | aur-8d27594dfcea8886041bc07577289075e5cfb4bb.tar.gz |
install zsh completion to doc
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = cheat-git pkgdesc = Allows you to create and view interactive cheatsheets on the command-line - pkgver = 4.0.1.r0.g278a5d9 + pkgver = 4.0.2.r0.gad7ad64 pkgrel = 1 url = https://github.com/cheat/cheat arch = any @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> # Contributor: Quan Guo <guotsuan@gmail.com> pkgname=cheat-git -pkgver=4.0.1.r0.g278a5d9 +pkgver=4.0.2.r0.gad7ad64 pkgrel=1 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('any') @@ -67,8 +67,12 @@ package() { "$pkgdir/usr/share/bash-completion/completions/${pkgname%-git}" install -Dm755 "scripts/${pkgname%-git}.fish" -t \ "$pkgdir/usr/share/fish/completions" -# install -Dm755 "scripts/${pkgname%-git}.zsh" \ -# "$pkgdir/usr/share/zsh/site-functions/_${pkgname%-git}" + + # 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%-git}.zsh" "$pkgdir/usr/share/doc/${pkgname%-git}/_${pkgname%-git}" + + install -Dm755 "scripts/$pkgname.zsh" "$pkgdir/usr/share/doc/$pkgname/_$pkgname" install -Dm644 LICENSE.txt \ "$pkgdir/usr/share/licenses/${pkgname%-git}/${pkgname%-git}-LICENSE" install -Dm644 "doc/${pkgname%-git}.1" -t "$pkgdir/usr/share/man/man1" |