Skip to content

Commit

Permalink
ninja: Fix bash completion installation directory
Browse files Browse the repository at this point in the history
Fixes #5125
  • Loading branch information
euamotubaina authored and lazka committed Jan 13, 2025
1 parent a0fd657 commit 008b31c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ninja/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=ninja
pkgname=("${_realname}" "${_realname}-vim" "${_realname}-emacs")
pkgver=1.12.1
pkgrel=1
pkgrel=2
_descr="Ninja is a small build system with a focus on speed"
pkgdesc="${_descr}"
arch=('i686' 'x86_64')
Expand Down Expand Up @@ -34,8 +34,8 @@ package_ninja() {
mv "${srcdir}/ninja-${pkgver}/ninja.exe" "${pkgdir}"/usr/bin/
mkdir -p "${pkgdir}"/usr/lib
mv "${srcdir}/ninja-${pkgver}/build/libninja.a" "${pkgdir}"/usr/lib/
mkdir -p "${pkgdir}"/etc/bash-completion.d
cp "${srcdir}/ninja-${pkgver}/misc/bash-completion" "${pkgdir}"/etc/bash-completion.d/ninja
mkdir -p "${pkgdir}"/usr/share/bash-completion/completions
cp "${srcdir}/ninja-${pkgver}/misc/bash-completion" "${pkgdir}"/usr/share/bash-completion/completions/ninja
mkdir -p "${pkgdir}"/usr/share/zsh/site-functions
cp "${srcdir}/ninja-${pkgver}/misc/zsh-completion" "${pkgdir}"/usr/share/zsh/site-functions/_ninja

Expand Down

0 comments on commit 008b31c

Please sign in to comment.