community/ninja to 1.11.1-1

This commit is contained in:
Kevin Mihelich 2022-08-31 00:06:41 +00:00
parent 7cd18cdfbc
commit 0f746e6a30

View file

@ -8,7 +8,7 @@
# https://www.linuxfromscratch.org/lfs/view/development/chapter08/ninja.html
pkgname=ninja
pkgver=1.11.0
pkgver=1.11.1
pkgrel=1
pkgdesc='Small build system with a focus on speed'
arch=(x86_64)
@ -17,7 +17,7 @@ license=(Apache)
depends=(gcc-libs)
makedepends=(python re2c emacs-nox)
source=($pkgname-$pkgver.zip::https://github.com/martine/ninja/archive/v$pkgver.zip)
sha1sums=('e2de757c4dfa38985b348863b43e2609b56ad305')
sha1sums=('fbcb284b7280335835c3f085fb825e6f1514396e')
prepare() {
cd ninja-$pkgver
@ -55,6 +55,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/bash-completion "$pkgdir/usr/share/bash-completion/completions/ninja"
install -m644 -D misc/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_ninja"