Skip to content

Commit

Permalink
Merge pull request #4570 from lazka/ninja-1.12.0
Browse files Browse the repository at this point in the history
ninja: Update to 1.12.1
  • Loading branch information
lazka committed May 14, 2024
2 parents 78dd2d3 + ddeed91 commit b18becd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ninja/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_realname=ninja
pkgname=("${_realname}" "${_realname}-vim" "${_realname}-emacs")
pkgver=1.11.1
pkgver=1.12.1
pkgrel=1
_descr="Ninja is a small build system with a focus on speed"
pkgdesc="${_descr}"
Expand All @@ -14,14 +14,16 @@ depends=()
options=('strip' 'staticlibs')
makedepends=("re2c" "python3" "emacs" 'gcc')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ninja-build/ninja/archive/v${pkgver}.tar.gz")
sha256sums=('31747ae633213f1eda3842686f83c2aa1412e0f5691d1c14dbbcc67fe7400cea')
sha256sums=('821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a')

prepare () {
cd ${srcdir}/ninja-${pkgver}
}

build() {
cd ${srcdir}/ninja-${pkgver}

CXXFLAGS+=" -D_XOPEN_SOURCE=700"
/usr/bin/python3 configure.py --bootstrap
}

Expand Down

0 comments on commit b18becd

Please sign in to comment.