diff --git a/ninja/.signature b/ninja/.signature index 7abee667..88cf9de6 100644 --- a/ninja/.signature +++ b/ninja/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqnHXFlO4ZgzUl7zQdPX8EEV5I40+X97BrUppqxzDwquB/oSPhkx2gsLWddoa5gQ+KDoJctTgEafGTfDu7TgGewg= -SHA256 (Pkgfile) = 7bdb02bfa481c49714c7aeaff10b3d6d5303b30da6c3ff02427edbc61215497e +RWRJc1FUaeVeqrwWUhSu2FGMk/SgEvs6vnav/8S0gvbrp7drf+lmjWG3dQtJ7+dsaHDXKtKJSfDGoFcKa/eYcK+sQUujhiaXeQc= +SHA256 (Pkgfile) = 518aa8a41e8092ab7c97b186900642e77bf5283e3f825a27567664df670d5505 SHA256 (.footprint) = 4f940f03f9adfac22005f86ffdd7356bc18b652cc6c218e4e60837214b6df70b SHA256 (ninja-v1.12.0.tar.gz) = 8b2c86cd483dc7fcb7975c5ec7329135d210099a89bc7db0590a07b0bbfe49a5 diff --git a/ninja/Pkgfile b/ninja/Pkgfile index c4d9ec40..4c99b454 100644 --- a/ninja/Pkgfile +++ b/ninja/Pkgfile @@ -10,22 +10,18 @@ release=1 source=(https://github.com/$name-build/$name/archive/v$version/$name-v$version.tar.gz) build() { - cmake -S $name-$version -B build -G Ninja \ - -D CMAKE_INSTALL_PREFIX=/usr \ - -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ - -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ - -Wno-dev - cmake --build build - DESTDIR=$PKG cmake --install build + cd $name-$version + + ./configure.py --bootstrap + install -D -m 0755 $name $PKG/usr/bin/$name # prt-get isinst bash-completion && \ -# install -m644 -D $name-$version/misc/bash-completion \ +# install -m644 -D misc/bash-completion \ # $PKG/usr/share/bash-completion/completions/ninja -# prt-get isinst zsh && install -m644 -D $name-$version/misc/zsh-completion \ +# prt-get isinst zsh && install -m644 -D misc/zsh-completion \ # $PKG/usr/share/zsh/site-functions/_ninja - install -m644 -D $name-$version/misc/ninja.vim \ + install -m644 -D misc/ninja.vim \ $PKG/usr/share/vim/vimfiles/syntax/ninja.vim }