diff options
author | somini | 2020-04-04 13:10:36 +0100 |
---|---|---|
committer | somini | 2020-04-04 13:10:36 +0100 |
commit | 6b690565887d4acdf00a531faaecdc668eb6a192 (patch) | |
tree | 386097b9684d306e0eff7b02f89e0887cf05d4fd | |
parent | f3de94dce10aa6e1f66dedbb7d52478920c9e83d (diff) | |
download | aur-6b690565887d4acdf00a531faaecdc668eb6a192.tar.gz |
Install bash completion on the correct place
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = git-identity-git pkgdesc = Manage your identity in Git pkgver = latest - pkgrel = 1 + pkgrel = 2 url = https://github.com/madx/git-identity arch = any license = custom:WTFPL @@ -2,7 +2,7 @@ _pkgname=git-identity pkgname=$_pkgname-git pkgver=latest -pkgrel=1 +pkgrel=2 pkgdesc="Manage your identity in Git" arch=('any') url="https://github.com/madx/git-identity" @@ -28,6 +28,6 @@ package() { # License install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" # Completions - install -Dm644 git-identity.bash-completion "$pkgdir/usr/share/bash-completion/git-identity" + install -Dm644 git-identity.bash-completion "$pkgdir$(pkg-config --variable=completionsdir bash-completion)/git-identity" install -Dm644 git-identity.zsh-completion "$pkgdir/usr/share/zsh/site-functions/_git-identity" } |