community/ninja to 1.11.1-3

This commit is contained in:
Kevin Mihelich 2023-05-03 19:16:18 +00:00
parent 50b972e1fe
commit e66c480855

View file

@ -9,7 +9,7 @@
pkgname=ninja
pkgver=1.11.1
pkgrel=2
pkgrel=3
pkgdesc='Small build system with a focus on speed'
arch=(x86_64)
url='https://ninja-build.org/'
@ -49,6 +49,8 @@ check() {
package() {
cd ninja-$pkgver
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -m755 -D ninja "$pkgdir/usr/bin/ninja"
install -m644 -D doc/manual.asciidoc "$pkgdir/usr/share/doc/ninja/manual.asciidoc"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
@ -56,7 +58,7 @@ package() {
install -m644 -D misc/ninja-mode.el "$pkgdir/usr/share/emacs/site-lisp/ninja-mode.el"
install -m644 -D misc/ninja-mode.elc "$pkgdir/usr/share/emacs/site-lisp/ninja-mode.elc"
install -m644 -D misc/ninja.vim "$pkgdir/usr/share/vim/vimfiles/syntax/ninja.vim"
install -m644 -D misc/ninja_syntax.py "$pkgdir/usr/lib/python3.10/site-packages/ninja_syntax.py"
install -m644 -D misc/ninja_syntax.py "$pkgdir/$site_packages/ninja_syntax.py"
install -m644 -D misc/bash-completion "$pkgdir/usr/share/bash-completion/completions/ninja"
install -m644 -D misc/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_ninja"