[arch-commits] Commit in ninja/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Nov 25 17:03:58 UTC 2014


    Date: Tuesday, November 25, 2014 @ 18:03:58
  Author: anatolik
Revision: 123107

upgpkg: ninja 1.5.3-1

Modified:
  ninja/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-25 17:00:48 UTC (rev 123106)
+++ PKGBUILD	2014-11-25 17:03:58 UTC (rev 123107)
@@ -5,7 +5,7 @@
 # Contributor: Gergely Imreh <imrehgATgmailDOTcom>
 
 pkgname=ninja
-pkgver=1.5.1
+pkgver=1.5.3
 pkgrel=1
 pkgdesc='Small build system with a focus on speed'
 arch=(i686 x86_64)
@@ -12,23 +12,21 @@
 url='http://martine.github.io/ninja/'
 license=(Apache)
 depends=(gcc-libs)
-makedepends=(asciidoc python2 re2c emacs-nox)
-checkdepends=(gtest)
+makedepends=(python2 re2c emacs-nox)
 source=(https://github.com/martine/ninja/archive/v$pkgver.zip)
-sha1sums=('b5fdd88d1766d5abf9623a79ebfbc49f62d91ca3')
+sha1sums=('1506e0f5ab59b9896d5f3af1edfc11454d35ea5d')
 
 build() {
   cd ninja-$pkgver
 
-  python2 ./bootstrap.py
+  python2 configure.py --bootstrap
   emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el
-  asciidoc doc/manual.asciidoc
 }
 
 check() {
   cd ninja-$pkgver
 
-  python2 ./configure.py --with-gtest=/usr/src/gtest
+  python2 ./configure.py
   ./ninja ninja_test
   ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
 }
@@ -38,10 +36,11 @@
 
   install -m755 -D ninja "$pkgdir/usr/bin/ninja"
   install -m644 -D doc/manual.asciidoc "$pkgdir/usr/share/doc/ninja/manual.asciidoc"
-  install -m644 -D doc/manual.html "$pkgdir/usr/share/doc/ninja/manual.html"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 
   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/bash-completion "$pkgdir/usr/share/bash-completion/completions/ninja"
   install -m644 -D misc/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_ninja"


More information about the arch-commits mailing list